OnAction: refer to sub in form

hbrems

has no clue...
Local time
Today, 21:56
Joined
Nov 2, 2006
Messages
181
Hi, I'm creating a right click menu that appears when the user clicks on an 'action' button. The button is part of a continuous form and allows the user to perform some actions for each record: edit, delete, etc.

I'm trying to figure out if I can bind the OnAction property of the menu buttons to subs in my form. Or do they HAVE to be functions in separate modules?

Normally when I close my edit form I would update the main form by means of an event. If I have to put my menu button actions in a separate module it becomes really awkward to do just that. Any advice?

Thanks in advance
 

Attachments

  • ex.jpg
    ex.jpg
    51.7 KB · Views: 147

Users who are viewing this thread

Back
Top Bottom