FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug on Tfolderex
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Bug on Tfolderex
Posted: Wed Sep 18, 2019 08:17 AM

After oFld:enabletab(nOtion) the controls inside this tab becomes not active.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Bug on Tfolderex
Posted: Wed Sep 18, 2019 11:44 AM

yes oldest error never corrected , asked also I many days ago

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Bug on Tfolderex
Posted: Wed Sep 18, 2019 02:31 PM
byte-one wrote:After oFld:enabletab(nOtion) the controls inside this tab becomes not active.


For me it's OK
Please put a example for test your problem
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Bug on Tfolderex
Posted: Thu Sep 19, 2019 03:05 PM

Günther,

It would help if you would put your software versions in your automatic signature line.

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Bug on Tfolderex
Posted: Thu Sep 19, 2019 07:55 PM

James, FWH 1812

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Bug on Tfolderex
Posted: Thu Sep 19, 2019 09:06 PM

Dear Günther
Do not have a small example to check your problem?

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Bug on Tfolderex
Posted: Fri Sep 20, 2019 10:21 AM

Cristobal, simple do a oFld:disabletab(nOtion) and later a oFld:enabletab(nOtion). Then the tab is enabled and can clicked but all the controls inside this tab are inactive.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Bug on Tfolderex
Posted: Fri Sep 20, 2019 10:26 AM
Günther, I tested using valid of a get in first folder and run ok

Code (fw): Select all Collapse
Function ActDesactDlgs( lEnable )

   local x
   DEFAULT lEnable  := .F.
   For x = 2 to Len( oFolder:aDialogs )
      if lEnable
         oFolder:EnableTab( x )
      else
         oFolder:DisableTab( x )
      endif
   Next x
Return nil
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Bug on Tfolderex
Posted: Fri Sep 20, 2019 11:23 AM
Please test this code. Except the first tab in all others the controls inside all are inactive!
Code (fw): Select all Collapse
Function ActDesactDlgs( lEnable )
   local x
   For x = 2 to Len( oFolder:aDialogs )
          oFolder:DisableTab( x )
         oFolder:EnableTab( x )
   Next x
Return nil
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM
Re: Bug on Tfolderex
Posted: Wed Oct 02, 2019 12:55 PM

Sorry Günther
This run also OK for me

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo

El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces

Continue the discussion