Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hello Harry.
>
>I managed that bit - but how do you re-instantiate it?
>
Add the class library that you saved the grid class to to the form controls tool bar but clicking on the ViewClasses button and selecting add. Locate the grid class on the tool bar and drop it on the form.
>> now this worked - almost! The checkbox appeared but all blank - as though not bound to data. Yet any attempt by me to force its controlsource was rejected... <<
Rejected? How? Do you have the controlSource for the column set before you do the addobject? Oh, I think you also have to set .CheckBox.Visible = .T. As I recall, objects added with AddObject are not visible until you explicitly set their visible property.
Marcia
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