The Message object – PB Docs 2021

The
Message object

The Message object is a predefined PowerBuilder global object (like
the default Transaction object SQLCA and the Error object) that is used in
scripts to process Microsoft Windows events that are not
PowerBuilder-defined events.

When a Microsoft Windows event occurs that is not a
PowerBuilder-defined event, PowerBuilder populates the Message object with
information about the event.

Other uses of the Message
object

The Message object is also used:

Customizing the Message
object

You can customize the global Message object used in your application
by defining a standard class user object inherited from the built-in
Message object. In the user object, you can add additional properties
(instance variables) and functions. You then populate the user-defined
properties and call the functions as needed in your application.

For more information about defining standard class user objects, see
the section called “Building a standard class user object” in Users Guide.


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