Link to home
Start Free TrialLog in
Avatar of stefanosn
stefanosn

asked on

powerbuilder call button...from menu...

i have a menu assigned on a form. i have a button on the same form that inserts a new row in a datawindow.

I want from the clicked event of the menu to call the cliecked event of the button

like this call button1_clicked()

how is this possible?
ASKER CERTIFIED SOLUTION
Avatar of sajuks
sajuks

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of stefanosn
stefanosn

ASKER

sajuks cb_1.TriggerEvent(Clicked!) this gave me
Undefined variable : cb_1
i found it. It was like this

form_name.button_name.TriggerEvent(Clicked!)

selected.cb_1.TriggerEvent(Clicked!)

thanks sajuks