Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programming Events within a Grid
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00094583
Message ID:
00094611
Views:
21
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!
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform