Folder - Enable/disable

Folder - Enable/disable

Postby SAOliveira » Tue Nov 12, 2013 4:38 pm

it´s possible leave some tabs enable and other disable.
Image
SAOliveira
Lins/SP - Brasil
User avatar
SAOliveira
 
Posts: 17
Joined: Sat Nov 05, 2011 8:56 am

Re: Folder - Enable/disable

Postby Rick Lipkin » Tue Nov 12, 2013 5:14 pm

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 view

aColorDis := { { 1, nRGB( 190, 190, 190), nRGB( 211, 211, 211 ) } }

oFld:DisableTab( 2 )
oFld:aGradDis := aColorDis

oFld:DisableTab( 3 )
oFld:aGradDis := aColorDis
 
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Folder - Enable/disable

Postby Richard Chidiak » Tue Nov 12, 2013 6:27 pm

You can also write it this way

oFld:aEnable[2]:=.F. // this will disable tab 2

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Folder - Enable/disable

Postby joseluisysturiz » Tue Nov 12, 2013 7:43 pm

Try, oFolder:aEnable[.t., .t., .f., .t., .f.], saludos... :shock:
Dios no está muerto...

Gracias a mi Dios ante todo!
User avatar
joseluisysturiz
 
Posts: 2064
Joined: Fri Jan 06, 2006 9:28 pm
Location: Guatire - Caracas - Venezuela

Re: Folder - Enable/disable (solved)

Postby SAOliveira » Tue Nov 12, 2013 7:47 pm

Richard Chidiak, Rick Lipkin

Tank´s
SAOliveira
Lins/SP - Brasil
User avatar
SAOliveira
 
Posts: 17
Joined: Sat Nov 05, 2011 8:56 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 95 guests