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.

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.
Subscribe
Login
0 Comments
Oldest