Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Preconfigurations Tab control in panel frame

Creates the complex graphic item PmiPanel with PmiCanvas and PmiWFrame 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)".
 
The PmiCanvas graphic item contains variables Titles and Widths 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 object.
 
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 titlesTab titles separated by semicolons
Defined tab widthsDefined tab widths separated by semicolons
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice