Using a user event – PB Docs 2017

Using a user event

After you define a user event, you must write the script that
PowerBuilder will execute when that user event is triggered. If it is an
unmapped user event, you also write the code that will trigger the user
event.

User events display in alphabetical order in the Event List view
and the event list box in the Script view, along with the predefined
events. As with predefined events, the script tells PowerBuilder what
processing to perform when the user event occurs.

If the user event is not mapped to a Windows message (that is, if
there is no event ID associated with it), you must trigger the event in
a script. You can trigger the user event in an object using the EVENT
syntax. For information about calling events, see the section called “About events” in PowerScript Reference.


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