Navigation: Ultimate Suite for PowerBuilder Help > PowerDock > Functions >

of_activedocumenttriggerevent

Send comments on this topic.

 

Description:

Triggers an event on the object in the currently selected document tab.

Syntax:

of_activedocumenttriggerevent (string as_event)
of_activedocumenttriggerevent (string as_event, string as_args)
of_activedocumenttriggerevent (string as_event, long al_arg1, long al_arg2)

Argument

Description

as_event

The name of the event you want to trigger.

as_args

LParm parameter passes as a string

al_arg1

WParm parameter

al_arg2

LParm parameter passed as a long

Return Value:

Returns a 1 if the event was triggered on a window object, 2 if the event was triggered on a userobject and 0 if the event was not triggered.

Usage:


Copyright © 2021 Werysoft Inc.