Go to: Return value. Flags. Examples.

Synopsis

getPanel -all/allPanels | -vis/visiblePanels | -inv/invisiblePanels -t/type panelType | -c/containing control | -up/underPointer | -wf/withFocus

This command returns panel and panel configuration information.

Return value

unknown

Flags

allConfigs, allPanels, allScriptedTypes, allTypes, configWithLabel, containing, invisiblePanels, scriptType, type, typeOf, underPointer, visiblePanels, withFocus, withLabel

Long name (short name)[argument types]Properties
-allPanels (-all) create
Return the names of all the panels in a string array.
-allTypes (-at) create
Return the names of all types of panels, except scripted types in a string array.
-allScriptedTypes (-ast) create
Return the names of all types of scripted panels in a string array.
-visiblePanels (-vis) create
Return the names of all the visible panels in a string array.
-invisiblePanels (-inv) create
Return the names of all the invisible panels in a string array.
-type (-typ) panelTypecreate
Return the names of all panels of the specified type in a string array.
-scriptType (-sty) panelTypecreate
Return the names of all scripted panels of the specified type in a string array.
-containing (-c) controlcreate
Return the name of the panel containing the specified control. An empty string is returned if the specified control is not in any panel.
-underPointer (-up) create
Return the name of the panel that the pointer is currently over. An empty string is returned if the pointer is not over any panel.
-withFocus (-wf) create
Return the name of the panel that currently has focus. If no panel has focus then the last panel that had focus is returned.
-typeOf (-to) panelNamecreate
Return the type of the specified panel.
-withLabel (-wl) stringcreate
Return the name of the panel with the specified label text.
-configWithLabel (-cwl) stringcreate
Return the name of the panel configuration with the specified label text.
-allConfigs (-ac) create
Return the names of the all panel configuration in a string array.

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Examples

	getPanel -all;
	getPanel -type modelPanel;
	getPanel -containing button0;
	getPanel -underPointer;
	getPanel -withFocus;