General information
Category:
Forms & Form designer
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only