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:
BackColorDefault background color of non-fixed table cells
ColFirstVisibleColumn index that is displayed as the first one after the fixed columns
ColsThe number of table columns
DimInitial table configuration
DrawRedrawing table
FillFromInfoReading data from object displayed in the INFO system
FitWidthAdjustment of column width to current table width
FixedBackColorDefault background color of table fixed cells
FixedColsThe number of fixed table columns
FixedFontFixed table columns font
FixedForeColorDefault text color of the table fixed cells
FixedRowsThe number of fixed table rows
FocusedCellTextValue of focused cell
FocusedColColumn index of focused cell
FocusedRowRow index of focused cell
FocusVisibleEnable to switch off default frame of focused cell
FontFont of non-fixed table cells
ForeColorDefault text color of non-fixed table cells
GetColPrivateDataReturns auxiliary column value
GetColWidthReturns column width (in pixels)
GetRowPrivateDataReturns auxiliary row value
GridEnable drawing grid of non-fixed cells
InsertRowInsert new row into the table
InteractionControl type of the table
IsCellFocusedDetects whether cell has focus
PaddingBottomCreates free area for cell text at the bottom
PaddingLeftCreates free area for cell text at the left
PaddingRightCreates free area for cell text at the right
PaddingTopCreates free area for cell text at the top
RemoveRowRemoves row from table
ResizeColEnabledEnable/disable to change column width
RowFirstVisibleRow index that is displayed as the first one after the fixed rows
RowsThe number of all table rows
SetColPrivateDataSets auxiliary column value
SetColWidthSets column width (in pixels)
SetEditModeSets cell to edit mode
SetFocusCauses the object to receive the focus
SetRowPrivateDataSets auxiliary row value
StartHeightRow height
StartWidthDefault column width
Methods for Cell setup of the table:
GetCellBackColorReturns background color of the cell
GetCellEditableReturns the flag whether it is enabled to edit the cell
GetCellForeColorReturns text color of the cell
GetCellTextReturns text of the cell
GetCellTextAlignReturns text alignment of the cell
GetCellTextAlignVertReturns vertical text alignment of the cell
SetCellBackColorSets background color of the cell (eventually the whole columns and rows)
SetCellEditableEnable/disable the possibility to edit the cell (eventually the whole columns and rows)
SetCellForeColorSets text color of the cell (eventually the whole columns and rows)
SetCellTextSets text of the cell
SetCellTextAlignSets the horizontal cell text alignment
SetCellTextAlignVertSets vertical cell text alignment
Properties and methods inherited from the PmgObject object:
AddEventRegisters a function into selected event
BlinkStarts/stops blinking of the Pmg object
DxWidth of the Pmg object
DyHeight of the Pmg object
EnabledEnable/disable the control, i.e. user's inputs to the object
FocusDetects/set the focus of the Pmg object
GetChildByIndexReturns the nested Pmg object defined by order
GetChildCountReturns the number of nested Pmg objects
GetPathNameObject name with the path to this object
GetItemInfoReturns special information regarding the Pmg object
GetParReading the value of the Pmg object parameter (or its parents)
IniDxInitial width of the Pmg object
IniDyInitial height of the Pmg object
IniXInitial X-position of the left upper corner of the Pmg object relative to superior object
IniYInitial Y-position of the left upper corner of the Pmg object relative to superior object
ItemsReturns reference to Pmg object
MethodsAccess to designer's methods of this object
MouseOnIdentification if the mouse cursor finds itself over the Pmg object
NameThe name of the Pmg object
ParentReturns reference to the parent Pmg object
PmReturns the Pma object (obsolete)
PmPanelReturns reference to the PmaPanel object where the Pmg object is placed
RefreshRefresh of the Pmg object
RemoveEventDeregisters the function in the specified event
RootReturns reference to the root PmgRoot object
ShowMenuOpens local menu of the Pmg object
ScreenXX-coordinate of the left upper corner of the Pmg object relative to computer screen
ScreenYY-coordinate of the left upper corner of the Pmg object relative to computer screen
ToolTipTooltip text of the Pmg object
VarsReturns the variable of the Pmg object
ViewXPosition of X-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
ViewYPosition of the Y-coordinate of the left upper corner of the Pmg object relative to the PmgRoot object
VisibleSets the visibility/invisibility of the Pmg object
XX-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
YY-coordinate of the left upper corner of the Pmg object relative to superior Pmg object
Events of this object:
onCellClickedIs triggered by clicking the mouse over cell
onCellEditedIs triggered when cell editing is finished
onCellEditRequestedIs triggered when cell editing is started
onCellFocusChangedIs triggered when cell focus is changed
onCellTextChangeIs triggered when edited text is changed
onFixedCellClickedIs triggered when fixed cell receives mouse left button click
onDataUpdateIs triggered on request for data on dragging scrollbar
Events inherited from the PmgObject object:
onStartIs triggered on the construction of the Pmg object in the course of opening the panel
onStopIs triggered on the destruction of the Pmg object in the course of closing the panel
onRefreshIs triggered on the data refresh of the Pmg object
onModeChangeIs triggered when the Pmg object mode changes
onFocusInIs triggered if the object receives focus
onFocusOutIs triggered if the object loses focus
Configuration tabs:
ObjectGeneral information about the object
PositionSetting the position, width and height of the Pmg object
VariablesList and configuration of user defined Pmg object variables
EventsAlgorithms definition for the object events
MethodsDefinition of designer's method of the Pmg object
TableBasic parameters of the table
ColumnsSettings of table rows properties
CellsSettings 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.21 SCADA system documentation - MICROSYS, spol. s r.o.

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