## The `Doverb' method

Argument: Integer scalar
Result: None

Valid for: OCX controls and OLEContainer (Implemented under Windows only)

The `DoVerb` method takes an integer argument which is the ID of a 'verb' to perform. This can either be a positive integer representing one of the application-specific verbs (see the `verbs` property), or one of the following standard verbs:

    0	Specifies the action that occurs when an end-user
    	double-clicks the object in its container.
    ¯1	Instructs an object to show itself for editing or viewing.
    ¯2	Instructs an object to open itself for editing in a window
    	separate from that of its container.
    ¯3	Causes an object to remove its user interface from the view.
    	Applies only to objects that are activated in-place.
    ¯4	Activates an object in place, along with its full set of
    	user-interface tools, including menus,
    	If the object does not support in-place activation, gives domain error
    ¯5	Activates an object in place without displaying tools, such as menus
    	and toolbars, that end-users need to change the behavior or appearance
    	of the object.
    ¯6	Used to tell objects to discard any undo state
    	that they may be maintaining without deactivating the object.

Topic: APLX Help : System Classes : Methods : Doverb

[ Previous | Next | Contents | Index ]