Update cookies preferences
Promotic

Preconfiguration "Simple table"

Creates the PmgCanvas object configured as a simple table with fixed number of rows and columns.

This preconfiguration can be activated when creating a new Pmg object.
 
This preconfiguration is included in the "/ Table" group.

This object contains embedded PmgCanvas object named "Dynamic". The content is filled in by the variable named "values". The value of this variable is entered in designer method GetData of this object. (The data in this method is emulated for testing purposes.)

In the parent PmgCanvas object there are variables
- Titles - column names of the table (names separated by semicolon)
- ColsWidth - widths of table columns (widths separated by semicolon)
- RowsHeight - row height (value common for all rows)
- Rows - the total number of rows (including the row with column names).


Additional configuration variables are located at the beginning of context itself, or at the beginning of designer method. The following items can be set: Additional configuration variables of the parent Pmg object are located at the beginning of the context itself.
- nBorder - width of table grid
- sTabBgColor - background color of table data area
- sTabBorderColor - table grid color
- sTabTitleColor - table header text color
- sTabTitleBgColor - background color of column header
These configurators can be set before the preconfiguration is created:
The name of created objectName (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 first character must not be a number.
Table column names (separated by semicolon ;)(va0;val1;val2;va3;val4;val5; ...)
Table column width (separated by semicolon ;)(140;100;100;100;100;100; ...)
Number of rows in the tableNumber of rows including the row with column names.

History:
Pm8.03.00: Created
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.