Promotic

Object PmgWTable (Table)

Description:
See: PmgWTable - Deatiled object description

This object serves for viewing and also for editing any data in the form of table.
This object inherits properties, methods and events of the PmgObject object.
Properties and methods of this object:
BackColor Default background color of non-fixed table cells
ColFirstVisible Column index that is displayed as the first one after the fixed columns
Cols The number of table columns
Dim Initial table configuration
Draw Redrawing table
FillFromInfo Reading data from object displayed in the INFO system
FitWidth Adjustment of column width to current table width
FixedBackColor Default background color of table fixed cells
FixedCols The number of fixed table columns
FixedFont Fixed table columns font
FixedForeColor Default text color of the table fixed cells
FixedRows The number of fixed table rows
FocusedCellText Value of focused cell
FocusedCol Column index of focused cell
FocusedRow Row index of focused cell
FocusVisible Enable to switch off default frame of focused cell
Font Font of non-fixed table cells
ForeColor Default text color of non-fixed table cells
GetColPrivateData Returns auxiliary column value
GetColWidth Returns column width (in pixels)
GetRowPrivateData Returns auxiliary row value
Grid Enable drawing grid of non-fixed cells
InsertRow Insert new row into the table
Interaction Control type of the table
IsCellFocused Detects whether cell has focus
PaddingBottom Creates free area for cell text at the bottom
PaddingLeft Creates free area for cell text at the left
PaddingRight Creates free area for cell text at the right
PaddingTop Creates free area for cell text at the top
RemoveRow Removes row from table
ResizeColEnabled Enable/disable to change column width
RowFirstVisible Row index that is displayed as the first one after the fixed rows
Rows The number of table rows
SetColPrivateData Sets auxiliary column value
SetColWidth Sets column width (in pixels)
SetEditMode Sets cell to edit mode
SetFocus Causes the object to receive the focus
SetRowPrivateData Sets auxiliary row value
StartHeight Row height
StartWidth Default column width
Methods for Cell setup of the table:
GetCellBackColor Returns background color of the cell
GetCellEditable Returns the flag whether it is enabled to edit the cell
GetCellForeColor Returns text color of the cell
GetCellText Returns text of the cell
GetCellTextAlign Returns text alignment of the cell
GetCellTextAlignVert Returns vertical text alignment of the cell
SetCellBackColor Sets background color of the cell (eventually the whole columns and rows)
SetCellEditable Enable/disable the possibility to edit the cell (eventually the whole columns and rows)
SetCellForeColor Sets text color of the cell (eventually the whole columns and rows)
SetCellText Sets text of the cell
SetCellTextAlign Sets the horizontal cell text alignment
SetCellTextAlignVert Sets vertical cell text alignment
Properties and methods inherited from the PmgObject object:
AddEvent Registers a function into selected event
Blink Starts/stops blinking of the Pmg object
Dx Width of the Pmg object
Dy Height of the Pmg object
Enabled Enable/disable the control, i.e. user's inputs to the object
Focus Detects/set the focus of the Pmg object
GetChildByIndex Returns the nested Pmg object defined by order
GetChildCount Returns the number of nested Pmg objects
GetPathName Object name with the path to this object
GetItemInfo Returns special information regarding the Pmg object
GetPar Reading the value of the Pmg object parameter (or its parents)
IniDx Initial width of the Pmg object
IniDy Initial height of the Pmg object
IniX Initial X-position of the left upper corner of the Pmg object relative to superior object
IniY Initial Y-position of the left upper corner of the Pmg object relative to superior object
Items Returns reference to Pmg object
Methods Access to designer's methods of this object
MouseOn Identification if the mouse cursor finds itself over the Pmg object
Name The name of the Pmg object
Parent Returns reference to the parent Pmg object
Pm Returns the Pma object (obsolete)
PmPanel Returns reference to the PmaPanel object where the Pmg object is placed
Refresh Refresh of the Pmg object
RemoveEvent Deregisters the function in the specified event
Root Returns reference to the root PmgRoot object
ShowMenu Opens local menu of the Pmg object
ScreenX X-coordinate of the left upper corner of the Pmg object relative to computer screen
ScreenY Y-coordinate of the left upper corner of the Pmg object relative to computer screen
ToolTip Tooltip text of the Pmg object
Vars Returns the variable of the Pmg object
ViewX Position of X-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
ViewY Position of the Y-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
Visible Sets the visibility/invisibility of the Pmg object
X X-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Y Y-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Events of this object:
onCellClicked Is triggered when cell receives mouse click
onCellEdited Is triggered when cell editing is finished
onCellEditRequested Is triggered when cell editing is started
onCellFocusChanged Is triggered when cell focus is changed
onCellTextChange Is triggered when edited text is changed
onFixedCellClicked Is triggered when fixed cell receives mouse left button click
onDataUpdate Is triggered on request for data on dragging scrollbar
Events inherited from the PmgObject object:
onStart Is triggered on the construction of the Pmg object in the course of opening the panel
onStop Is triggered on the destruction of the Pmg object in the course of closing the panel
onRefresh Is triggered on the data refresh of the Pmg object
onModeChange Is triggered when the Pmg object mode changes
onFocusIn Is triggered if the object receives focus
onFocusOut Is triggered if the object loses focus
Configuration tabs:
Object General information about the object
Position Setting the position, width and height of the Pmg object
Variables List and configuration of user defined Pmg object variables
Events Algorithms definition for the object events
Methods Definition of designer's method of the Pmg object
Table Basic parameters of the table
Columns Settings of table rows properties
Cells Settings of table cell properties

History:
Pm9.00.00: Object name changed: PmiAx-PmTable -> PmgWTable
Pm8.03.23: Fixed bug: in Web panels: In Firefox it was not possible to set the column width to 0.
Pm8.03.22: Fixed bug: in Web panels:
- It is possible to enter now more than one fixed row or column.
- Sometimes the scrollbar was visible while not needed.
Pm8.02.14: was optimized and is no longer flickering while being rendered.
PROMOTIC 9.0.17 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
 
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice