IDLitUI::RegisterUIService

Syntax | Return Value | Arguments | Keywords | Version History

The IDLitUI::RegisterUIService function method registers a user interface service with the user interface. Once the user interface service has been registered, the iTool with which the user interface is associated can call the UI service to display dialogs or other UI elements.

Note
Every UI service must implement a callback function that displays the requested user interface. See Creating a User Interface Service (iTool Developer's Guide) for details.

Syntax

Restult = Obj->[IDLitUI::]RegisterUIService(Name, Callback)

Return Value

Returns an iTool object identifier for the UI service specified by Name.

Arguments

Name

A string containing the human readable name of the user interface being registered.

Callback

A string containing the name of the callback function for this UI service. The callback function is called when execution of the UI service is requested. The callback should have the following calling signature:

FUNCTION NAME, oUI, oTarget 

where:

Keywords

None

Version History

6.0

Introduced