Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable/Enable a command button
Message
From
07/12/1999 19:06:26
 
 
To
07/12/1999 18:58:50
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00300087
Message ID:
00300116
Views:
25
Hi Peter,

>THIS.ENABLED=IIF(THISFORM.MyProperty=.T.,.T.,.F.)
>THIS.ENABLED=IIF(SetActiveOnOff,.T.,.F.)

Just a comment, but if the second and third of your iif()'s are .T. and .F. you probably don't need an IIF:

THIS.ENABLED = THISFORM.MyProperty
THIS.ENABLED = SetActiveOnOff


And put a not in front if it you pass .F. then .T.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform