>I put some code in a grid.doubleclick() method, but the code is not executing when I double click a field in the grid.
The _control_ in the Column is taking the DoubleClick (Grid.Column1.TextBox1). There is no "Column class" you can modify to automatically propagate the grid. What I have done is create a method on the Grid level called RowDblClick(). I put my complex code in there and drop a simple (This.Parent.Parent.RowDblClick) into the DoubleClick of each TextBox.
Another way -- less desireable to some because it's not Visual -- is to add your columns on the fly. Pass an array containing column names, controlsource... and build the grid dynamically. If you want some examples we can do it offline. JimToler@TemperedSys.com
The same basic problem of "inheritance blindness" is true of CommandGroups and OptionGroups, also. Make really cool custom properties on your base CommandButton or OptionButton, and it's not used when you change the ControlCount of CommandGroups and OptionGroups. Bummer.
jt
"I have no respect for a man who can only spell a word one way." -- Mark Twain
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