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

Extending and overriding events – PB Docs 126 – PowerBuilder Library

Extending and overriding events – PB Docs 126

Extending and overriding events

In PowerBuilder, when you write event scripts in a descendent
object, you can extend or override scripts that have been written
in the ancestor. Extending (the default) means executing
the ancestor’s script first, then executing code in the descendant’s
event script.

Overriding means ignoring the ancestor’s script and
only executing the script in the descendant.

note.png No overloaded events

You cannot overload an event by defining an event with the
same name but different arguments. Event names must be unique.

To select extending or overriding, open the script in the
Script view and check or clear the Extend Ancestor Script item in
the Edit or pop-up menu.


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