Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Setting control source to a variable
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00677331
Message ID:
00719645
Views:
21
>Hi Sergey,
>
>I have a column in a grid whose controlsource is dependent upon another column in the grid. I put an iif statement in the controlsource and I tried using a function. In either case the column became read-only. Do you have an answer?

I'd suggest that you place two controls in the column, each with its own controlsource, and then use the DynamicControl property to select which one to make active at any given moment.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform