>>I have a grid class whose .ColumnCount property starts as the default -1. The columns are built on the fly by using afields() and creating them. I need to be able to access the .Click methods of the subsequent headers and text boxes that are created. How can I create code that will execute when a user clicks a header, a textbox and get it inserted into a grid on the fly?
>
>Define your own column class. As long as you define the grid on the fly, you can use your own class for columns/headers/etc. Put a property their that will keep an object reference. When you want to call the click method, call in fact the click of the object you hook on that property. This way you can define and change those hooked objects on the fly as you want and like!
>
>Vlad
Except that columns are not in the listing of available classes to work with. Although I've written procedures to define classes, I'd prefer to keep it within the .VCX stuff. How can I write a column class in a VCX?
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