myUiNumber()

Returns the number of the UI manager (like myManNum(); always less than 256).

Synopsis

int myUiNumber();

Parameters

Parameter Meaning
None -

Return value

Number of the UI manager.

Description

Returns the number of the UI manager (like myManNum(); always less than 256).

Example

The following example adds the fifth level of its own panel that lies in the own module of its own UI manager.

main()

{

dpSet("_LayerOn.ManNum:_original.._value", myUINumber(),

"_LayerOn.ModuleName:_original.._value",

myModuleName(),

"_LayerOn.Layer:_original.._value", 5,

"_LayerOn.PanelName:_original.._value",

myPanelName());

}

Assignment

Administration of managers, modules and panels

Availability

CTRL

See also

myUiDpName(), myManNum()