Solved

powerbuilder call button...from menu...

Posted on 2004-10-11
3
458 Views
Last Modified: 2013-12-26
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?
0
Comment
Question by:stefanosn
  • 2
3 Comments
 
LVL 33

Accepted Solution

by:
sajuks earned 50 total points
ID: 12274404
are you lloking for
cb_OK.TriggerEvent(Clicked!)
0
 

Author Comment

by:stefanosn
ID: 12274421
sajuks cb_1.TriggerEvent(Clicked!) this gave me
Undefined variable : cb_1
0
 

Author Comment

by:stefanosn
ID: 12274459
i found it. It was like this

form_name.button_name.TriggerEvent(Clicked!)

selected.cb_1.TriggerEvent(Clicked!)

thanks sajuks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question