Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing the control in a column of the Grid at run time
Message
From
04/12/2001 08:41:01
 
 
To
03/12/2001 14:37:03
Christopher Pinnock
United General Insurance Company
Kingston, Jamaica
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00588866
Message ID:
00589189
Views:
13
>Hey guys. I have a situation here. I have a grid that i want to be able to manipulate at run time. In my first column I want the user to see a check box instead of the default text box. Can i change this at run time. It can be done at design time, but i need to do it at run time.

Just use Column's AddObject method to add an instance of the desired control to the desired column, and set the column's CurrentControl property to point at the added control.
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
Reply
Map
View

Click here to load this message in the networking platform