Preconfigurations Tab control in panel frame
Creates the complex graphic item PmiPanel
subobjects configured as switching tabs.
This preconfiguration can be activated when creating a new graphic item
and is included in the group: " / Frame panel (PmiWFrame)"
graphic item contains variables Titles
of the string
type. The individual vaues are separated by semicolon. The Titles
variable contains descriptions of the tab titles and also indicates the number of tabs. 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. For the first two tabs, the OpenView
method is preconfigured in order to open web pages in the PmiWFrame
In the start of onDraw
, there are variables that can be used for setting up the colour 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|
|Defined tab widths||Defined tab widths separated by semicolons|