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

Event processing in visual extensions – PB Docs 125 – PowerBuilder Library

Event processing in visual extensions – PB Docs 125

Event processing in visual extensions

A visual extension
can have a window procedure that can process any Windows message
or user-defined message. The PBVM passes all such messages to the
visual extension, which can intercept messages and either process
or ignore them.

WindowProc is an application-defined callback
function that processes messages sent to a window. In the example
in this section, a WM_PAINT message
is sent to the extension when an action in the PowerBuilder application
causes the window to be redrawn. When the extension receives the message,
it repaints an area in the window using the current values for text
and color set by the user of the application.

The following example also captures mouse clicks and double
clicks, and triggers the Onclick and Ondoubleclick event scripts
in the PowerBuilder application. You can use two different syntaxes
for describing events:


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