Page 1 of 1
Folder - Enable/disable
Posted: Tue Nov 12, 2013 4:38 pm
by SAOliveira
it´s possible leave some tabs enable and other disable.

Re: Folder - Enable/disable
Posted: Tue Nov 12, 2013 5:14 pm
by Rick Lipkin
SAOliveira
This code should work .. notice also I have colored the folder Grey to visually give the disabled look with aColorDis.
Rick Lipkin
Code: Select all | Expand
aColorDis := { { 1, nRGB( 190, 190, 190), nRGB( 211, 211, 211 ) } }
oFld:DisableTab( 2 )
oFld:aGradDis := aColorDis
oFld:DisableTab( 3 )
oFld:aGradDis := aColorDis
Re: Folder - Enable/disable
Posted: Tue Nov 12, 2013 6:27 pm
by Richard Chidiak
You can also write it this way
oFld:aEnable[2]:=.F. // this will disable tab 2
Richard
Re: Folder - Enable/disable
Posted: Tue Nov 12, 2013 7:43 pm
by joseluisysturiz
Try, oFolder:aEnable[.t., .t., .f., .t., .f.], saludos...

Re: Folder - Enable/disable (solved)
Posted: Tue Nov 12, 2013 7:47 pm
by SAOliveira
Richard Chidiak, Rick Lipkin
Tank´s