General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only