FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Folder - Enable/disable
Posts: 17
Joined: Sat Nov 05, 2011 08:56 AM
Folder - Enable/disable
Posted: Tue Nov 12, 2013 04:38 PM
it´s possible leave some tabs enable and other disable.
SAOliveira

Lins/SP - Brasil
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Folder - Enable/disable
Posted: Tue Nov 12, 2013 05: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 (fw): Select all Collapse
aColorDis := { { 1, nRGB( 190, 190, 190), nRGB( 211, 211, 211 ) } }

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

oFld:DisableTab( 3 )
oFld:aGradDis := aColorDis
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Folder - Enable/disable
Posted: Tue Nov 12, 2013 06: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
Posts: 2064
Joined: Fri Jan 06, 2006 09:28 PM
Re: Folder - Enable/disable
Posted: Tue Nov 12, 2013 07:43 PM

Try, oFolder:aEnable[.t., .t., .f., .t., .f.], saludos... :shock:

Dios no está muerto...



Gracias a mi Dios ante todo!
Posts: 17
Joined: Sat Nov 05, 2011 08:56 AM
Re: Folder - Enable/disable (solved)
Posted: Tue Nov 12, 2013 07:47 PM

Richard Chidiak, Rick Lipkin

Tank´s

SAOliveira

Lins/SP - Brasil

Continue the discussion