Disable a tab on a folder

Post Reply
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Disable a tab on a folder

Post by Jeff Barnes »

Hi Everybody,

Is there a way to disable a tab on a folder, for example something like:

IF nValue <> 1
oFld1:Disable()
ENDIF

This way only oFld1 would not be clickable but the rest would.

Thanks in advance,

Jeff
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Disable a tab on a folder

Post by Richard Chidiak »

Jeff Barnes wrote:Hi Everybody,

Is there a way to disable a tab on a folder, for example something like:

IF nValue <> 1
oFld1:Disable()
ENDIF

This way only oFld1 would not be clickable but the rest would.

Thanks in advance,

Jeff
Jeff

you can do it this way

oFld1:aEnable = { .f., .t., .t., .T., .T.,.T. }

Richard
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

Thanks
Post Reply