Hi David,
I would like the RightClick event to apply to the individual cells in the grid so that Right clicking would display detailed information on the cell. Also would like to go on from there to associate other events with the cells.
I am using a loop (wherever it finally ends up) due to the large number of columns.
Also, is there a way to freeze column one in the grid like in the original browse command?
TIA Ashley
>Ashley,
>
>"Whose" RightClick event do you want to trigger it? You'd be a little better off creating a custom method (like SetupGrid) for the form and moving the code there and just call it from the form.Init() method:
>
>thisform.SetupGrid()
>
>then in the RightClick() you can just call the method again just like above.
>
>>I have a grid on a form that allows me to browse a table which has 216 fields. I set the ControlSource, Header captions within a for..next loop in the form's Init method. I would also like to set within this loop the rightclick event but am having problems with syntax. Any suggestions/examples. Or maybe I'm going about this the wrong way altogether!
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