Preconfiguration "Vertical tabs"
Creates the PmgCanvas
object configured as switching tabs.
This preconfiguration can be activated when creating a new Pmg object
and is included in the group: "/ Tabs"
This object contains variable Titles
of the String
type. The individual values are separated by semicolon and represent the tab titles.
The Width variable = width of each tab.
The Index variable = sets the active tab.
In the onMousePress
event there is a script that provides the switching of tabs. It also allows to define an action that is executed when the page is switched.
In the start of the onDraw
event, 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:
|The name of created object||Name (identifier) of the Pmg object. It is used for obtaining the Pmg object by the PmgObject.Items method.
This configurator sets the initial value of the Name property.
The maximum name length is 30 characters. This is a system name, so it must contain only alphanumeric and must not contain any diacritics (i.e. national dependent characters), empty string, spaces and the first character must not be a number.
|Tab titles||Tab titles separated by semicolon|
|Tab height||Tab height value|
Left from displayed area (default)
Right from displayed area