Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enabled property
Message
From
03/04/2001 23:01:58
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00491011
Message ID:
00491677
Views:
8
>Hi All,
>
>Can you set the enabled property of a control via a property on a form? I have a control on a form that I want to toggle the enabled property based upon a custom form property. In the controls Enabled property window I have placed (using the expression builder) =ThisForm.lCustomProperty, =This.Parent.lCustomProperty as well as =IIF(ThisForm.lCustomProperty, .T., .F.). What am I doing wrong?
>
>I have verified that ThisForm.lCustomProperty is being set properly.
>
>Thanks...
>
>Bob

You could use assign method of the property to set the value. Take a look at the access/assign methods in help.
Previous
Reply
Map
View

Click here to load this message in the networking platform