it´s possible leave some tabs enable and other disable.
Folder - Enable/disable
- SAOliveira
- Posts: 17
- Joined: Sat Nov 05, 2011 8:56 am
Folder - Enable/disable
SAOliveira
Lins/SP - Brasil
Lins/SP - Brasil
- Rick Lipkin
- Posts: 2397
- Joined: Fri Oct 07, 2005 1:50 pm
- Location: Columbia, South Carolina USA
Re: Folder - Enable/disable
SAOliveira
This code should work .. notice also I have colored the folder Grey to visually give the disabled look with aColorDis.
Rick Lipkin
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
aColorDis := { { 1, nRGB( 190, 190, 190), nRGB( 211, 211, 211 ) } }
oFld:DisableTab( 2 )
oFld:aGradDis := aColorDis
oFld:DisableTab( 3 )
oFld:aGradDis := aColorDis
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: Folder - Enable/disable
You can also write it this way
oFld:aEnable[2]:=.F. // this will disable tab 2
Richard
oFld:aEnable[2]:=.F. // this will disable tab 2
Richard
- joseluisysturiz
- Posts: 2024
- Joined: Fri Jan 06, 2006 9:28 pm
- Location: Guatire - Caracas - Venezuela
- Contact:
Re: Folder - Enable/disable
Try, oFolder:aEnable[.t., .t., .f., .t., .f.], saludos...
Dios no está muerto...
Gracias a mi Dios ante todo!
Gracias a mi Dios ante todo!
- SAOliveira
- Posts: 17
- Joined: Sat Nov 05, 2011 8:56 am
Re: Folder - Enable/disable (solved)
Richard Chidiak, Rick Lipkin
Tank´s
Tank´s
SAOliveira
Lins/SP - Brasil
Lins/SP - Brasil