Execute a control.eventhandler

Is it possible to cause an event handler on a control to execute from a method?

Specifically, I have a button that sets up the user interface to add a new record: bNew->action contains the code.

Seems I can’t just say bNew.Action so is there a way to cause the code in the action event to execute without actually clicking the button?


Move the code from Button.Action to a method on the window.
We generally call them Handle{Button Action} so like, HandleNewRecord.

Thanks Tim,

That what I figured and what I usually do. This was just an odd case.