Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Selected – PB Docs 125 – PowerBuilder Library

Selected – PB Docs 125

Selected event

Description

Occurs when the user highlights an item on the menu using
the arrow keys or the mouse, without choosing it to be executed.

Event ID

Event ID

Objects

None

Menu

Parameters

None

Return Values

None. (Do not use a RETURN statement.)

Usage

You can use the Selected event to display MicroHelp for the
menu item. One way to store the Help text is in the menu item’s
Tag property.

Examples

This example uses the tag value of the current menu
item to display Help text. The function wf_SetMenuHelp takes
the text passed (the tag) and assigns it to a MultiLineEdit control.
A Timer function and the Timer event are used
to clear the Help text.

This code in the Selected event calls the function that sets
the text:

This code for the wf_SetMenuHelp function
sets the text in the MultiLineEdit mle_menuhelp;
its argument is called menuhelpstring:

This code in the Timer event clears the Help text
and stops the timer:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x