"panelAt"

Returns a pointer to the panel located inside of the tab widget at the stated index position.

Synopsis

getValue(string shape, "panelAt", int index, shape &panel);

shape.activeRegister(int idx);

Parameter

Parameter Description
shape Name of the object
index Index of the tab widget, starting with 0
panel pointer to the panel

Description

The function returns a pointer to the panel which is located at the defined index inside of the tab widget.

Example

Following example returns the pointer to the panel which is located at the first location (index 0) inside of the tab widget.

main()
{
  shape panel = tab.panelAt(0);
}

Assignment

Tab Widget