SalFormTableWindow
PPJ.Runtime.Windows.SalFormTableWindow
Last updated
PPJ.Runtime.Windows.SalFormTableWindow
Last updated
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Web.49 (4.9.0.0)
Top level table window implementation.
Constructs a SalFormWindow object.
: Enables/Disables AutoEditing mode. When this mode is on, the grid automatically enters edit mode when a cell is selected. (Default: False
)
: Allow row sizing. (Default: True
)
Determines whether any rows in the specified table window match certain flags.
nFlagsOn
nFlagsOff
Prevents the control from updating until the EndUpdate method is called.
Deselects all rows of a table window.
Computes the average of all column values or only specified column values in a table window.
nColumnID
nFlagsOn
nFlagsOff
Computes the sum of all column values or only specified column values in a table window.
nColumnID
nFlagsOn
nFlagsOff
Copies the contents of the specified table window rows to the Clipboard in text format.
nFlagsOn
nFlagsOff
Creates a table window column of string data type at runtime.
nColumnPos
nDispWidth
nMaxChars
sTitle
Creates a table window column using a given data type at runtime. Allowed types are DT_String, DT_Number and DT_DateTime
nColumnPos
nDispWidth
sTitle
nMaxChars
nDatatype
Defines the appearance and behavior of a table window's row header.
sTitle
nWidth
nFlags
column
Splits a table window horizontally.
nRowsLowerHalf
bDragAdjust
Deletes a row from a table window but not from the database.
nRow
nFlag
Applies a SQL DELETE statement to all table window rows with the ROW Selected flag.
hSql
Applies a SQL DELETE statement to all table window rows with the ROW Selected flag.
hSql
errorHandler
Destroys all automatic columns created by SalTblCreateColumn or SalTblPopulate at runtime. This function only works on table windows that contain only automatic columns.
Applies a SQL DELETE statement to all table window rows that have nFlagsOn flags.
hSql
nFlagsOn
Applies a SQL DELETE statement to all table window rows that have nFlagsOn flags.
hSql
nFlagsOn
errorHandler
Applies a SQL INSERT statement to all the rows in a table window that have the ROW New flag.
hSql
bClearFlags
Applies a SQL INSERT statement to all the rows in a table window that have the ROW New flag.
hSql
bClearFlags
errorHandler
Applies a SQL UPDATE statement to all table window rows with the Row Edited flag.
hSql
bClearFlags
Applies a SQL UPDATE statement to all table window rows with the Row Edited flag.
hSql
bClearFlags
errorHandler
Resumes updating of the list view control after suspending it by the BeginUpdate method.
Sends a SAM_FetchRow message to a table window if the row you specify is not currently in the table window cache.
nRow
nRow
nFlagsOn
nFlagsOff
nRow
nFlagsOn
nFlagsOff
nColumnID
sText
Gets data from a column of a table window's context row.
nColumnID
Gets the handle of a table window column.
nCol
nFlags
Returns a table window's current context row. Before sending a SAM_FetchRow message, automatically sets the context row so that assignments made while processing the message reference the correct row.
nLines
Retrieves the height of a row in lines.
Retrieves the number of locked table window columns.
Queries a row's flags.
nRow
nFlags
Tests the state of a table window's flags.
nFlags
Inserts a new blank row into a table window.
nRow
Takes a row out of edit mode and selects the row. This causes the row to receive both SAM_Validate and SAM_KillFocus messages.
Turns off the table window's focus frame.
Pastes the contents of the Clipboard to the specified table window. Assumes the Clipboard data is in text format with cells delimited by tab characters and rows delimited by end-of-line characters. Inserts the new rows into the table window without overwriting existing rows, and converts the data to the data types of the corresponding table window columns.
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.
hSql
sSelect
nMethod
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.
hSql
sSelect
nMethod
errorHandler
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.
hSql
sSelect
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the result set and populates a table window with them.
hSql
sSelect
errorHandler
nRow
hWndCol
sTitle
nMaxTitle
nWidth
nFlags
hWndCol
nPosition
nMinRange
nMaxRange
nRowsLowerHalf
bDragAdjust
nMinRange
nMaxRange
Clears a table window by discarding all rows from the table window cache and setting the table range to 0, -1.
Scrolls a table window to the specified row and column.
nRow
column
nFlags
Scrolls a table window to the specified row and column.
nRow
column
Assigns data to a column of a table window's context row.
nColumnID
sText
Sets a table window's context row. Setting the context row does not send a SAM_FetchRow message. If the row is not currently in memory, creates a new row in memory and sets its cell values to null.
nRow
Sets or clears row flags.
nFlags
bSet
nFlagsOn
nFlagsOff
Sets the focus to the specified table window cell (row and column). Puts the table window into edit mode and lets the user select a portion of the data in the cell.
nRow
column
Sets a table window's focus frame row.
nRow
Sets the height of a row in lines.
nLines
Sets the number of locked table window columns.
nLockedColumns
Defines the minimum and maximum rows (range) of a table.
nMin
nMax
Sets the focus to the first, last, next, or previous row in a table window.
nRowPos
Sets or clears a table window row's flags.
nRow
nFlags
bSet
Sets or clears a table window's flags.
nFlags
bSet
Sorts the rows of a table window based on the values in one of the table window's columns.
nColumnID
nOrder
All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface.
: Enables/Disables automatic sorting on table columns. (Default: False
)
: Returns the collection of columns.
: Prevents the split grid from getting the focus while allowing for he horizontal scroll and column resizing. (Default: False
)
: Returns the table column object with the specified column ID. The ID is 1-based.
: Returns the table column object with the specified name.
: Number of lines per row.
: Returns/Sets the ReadOnly flag. When the ReadOnly flag is true the entire TableWindow control cannot be edited. However, the Mouse, scrolling and the Keyboard are still active. (Default: False
)
: Keeps all rows of the same height. (Default: FreeSize
)
: Returns the internal table window control.
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .
Returns: .