PowerScript allows you to create nonvisual objects that override all virtual and abstract methods, properties, indexers, and events defined in .NET base classes and interfaces.
global type NVO from DotNetClass1, ISub1 end type
{ objectname.} { type } { calltype } { when } name ( { argumentlist } )
Argument | Description |
---|---|
objectname |
The name of the object where the function or event is defined, followed by a period or the descendant of that object, or the name of the ancestor class of the object followed by two colons. |
type |
A keyword specifying the method type you are calling. Values are:
|
calltype |
A keyword specifying when PowerBuilder looks for the function or event. Values are:
|
when |
A keyword specifying when the function or event should execute. Values are:
|
name | The name of the function or event to call. |
argumentlist | The values to pass to the function or event. Each value must have a datatype that corresponds to the declared datatype in the function or event definition or declaration. |