Preconfiguration "Vertical tabs"
Creates the graphic item PmiCanvas
configured as switching tab.
This preconfiguration can be activated when creating a new graphic item
and is included in the group: " / Selection from menu, ComboBox, RadioButton / Support for panels"
This graphic item has variable Titles
of the string
type. The individual values are separated by semicolons and represent the tab titles. The Widths
variable defines the width of each tab. The Index
sets the active tab.
In the onMousePress
event there is a script that manages the switching of tabs. It also allows to define an action that is executed when the tab is switched.
In the start of onDraw
, there are variables that can be used for setting up the color appearance of tabs, font size and color and margin widths.
These configurators can be set before the preconfiguration is created:
|Tab titles||Tab titles separated by semicolons|
|Tab heights||Tab height value|
To the left from displayed area (default)
To the right from displayed area