Bug on Tfolderex

Bug on Tfolderex

Postby byte-one » Wed Sep 18, 2019 8:17 am

After oFld:enabletab(nOtion) the controls inside this tab becomes not active.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Bug on Tfolderex

Postby Silvio.Falconi » 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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 6768
Joined: Thu Oct 18, 2012 7:17 pm

Re: Bug on Tfolderex

Postby cnavarro » Wed Sep 18, 2019 2: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
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Bug on Tfolderex

Postby James Bott » Thu Sep 19, 2019 3: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Bug on Tfolderex

Postby byte-one » Thu Sep 19, 2019 7:55 pm

James, FWH 1812
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Bug on Tfolderex

Postby cnavarro » Thu Sep 19, 2019 9: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
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Bug on Tfolderex

Postby byte-one » 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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Bug on Tfolderex

Postby cnavarro » Fri Sep 20, 2019 10:26 am

Günther, I tested using valid of a get in first folder and run ok

Code: Select all  Expand view


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
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Bug on Tfolderex

Postby byte-one » 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: Select all  Expand view
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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Bug on Tfolderex

Postby cnavarro » 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
User avatar
cnavarro
 
Posts: 6500
Joined: Wed Feb 15, 2012 8:25 pm
Location: España


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests