Syntax 1: For menus
Description
Occurs when the user chooses an item on a menu.
Event ID
|
Event ID |
Objects |
|---|---|
|
None |
Menu |
Arguments
None
Return Values
None (do not use a RETURN statement)
Usage
If the user highlights the menu item without choosing it, its
Selected event occurs.
If the user chooses a menu item that has a cascaded menu
associated with it, the Clicked event occurs, and the cascaded menu is
displayed.
Examples
This script is for the Clicked event of the New menu item for the
frame window. The wf_newsheet function is a window function. The window
w_genapp_frame is part of the application template you can generate when
you create a new application:
|
1 2 |
/* Create a new sheet */ w_genapp_frame.wf_newsheet( ) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest