Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing the control in a column of the Grid at run time
Message
De
04/12/2001 08:41:01
 
 
À
03/12/2001 14:37:03
Christopher Pinnock
United General Insurance Company
Kingston, Jamaique
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00588866
Message ID:
00589189
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform