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?
stefanosnAsked:
Who is Participating?
 
sajuksConnect With a Mentor Commented:
are you lloking for
cb_OK.TriggerEvent(Clicked!)
0
 
stefanosnAuthor Commented:
sajuks cb_1.TriggerEvent(Clicked!) this gave me
Undefined variable : cb_1
0
 
stefanosnAuthor Commented:
i found it. It was like this

form_name.button_name.TriggerEvent(Clicked!)

selected.cb_1.TriggerEvent(Clicked!)

thanks sajuks
0
All Courses

From novice to tech pro — start learning today.