getComponentName()

Returns the component name of this component instance, or the main component instance.

InstanceObject.getComponentName()

Arguments

None

Return Value

Returns the component name of the component instance.

Exceptions

The following exceptions may be thrown:

var vInstance = uniface.getInstance("MUSICLIST");
if (vInstance != null) {
    showComponentName(vInstance.getComponentName());
}

Related Topics