Versions des environnements
>>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement