Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get MyClass.MyCheckbox into a grid?
Message
 
 
À
25/01/2008 09:33:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01285496
Message ID:
01285539
Vues:
23
>>>Got a CheckBox in a class library and want to use it instead of the default TextBox that's in one of the columns of my grid. How do I do that? Visually at design time. Thanks!
>>
>>Just make sure your custom CheckBox is in the form controls toolbar, then drop it onto the grid like any other control.
>
>And THEN change the CurrentControl property of the column in the grid.


I didn't mention that I always delete the default Textbox in the column first. CurrentControl must then be updated automatically when a custom control is dropped in because I never need to do that manually.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform