The SalFormTableWindow type exposes the following members.
Methods
Name | Description | |
---|---|---|
AnyRows |
Determines whether any rows in the specified table window match certain flags.
| |
BringWindowToTop |
Brings a window to the top of all overlapping windows.
(Inherited from SalForm.) | |
CenterWindow |
Centers a window. If the window is a top-level window, it centers it on the
desktop. If the window is a child window, it centers it on top of its parent.
(Inherited from SalForm.) | |
ClearCursor |
Clears a window's cursor.
(Inherited from SalForm.) | |
ClearSelection |
Deselects all rows of a table window.
| |
ColumnAverage |
Computes the average of all column values or only specified column values in a table
window.
| |
ColumnSum |
Computes the sum of all column values or only specified column values in a table
window.
| |
ConvertMenuToContextMenuStrip |
Called just before the ContextMenu is about to be shown, making it possible to convert the ContextMenu
into a ContextMenuStrip instead.
(Inherited from SalForm.) | |
CopyRows |
Copies the contents of the specified table window rows to the Clipboard in text format.
| |
CreateColumn |
Creates a table window column of string data type at runtime.
| |
CreateColumnEx |
Creates a table window column using a given data type at runtime.
Allowed types are DT_String, DT_Number and DT_DateTime
| |
CreateForm |
Creates the handle for the form and all the child controls.
(Inherited from SalForm.) | |
CreateTableWindow |
Creates an instance of the inner child table window.
(Inherited from SalForm.) | |
DefineRowHeader |
Defines the appearance and behavior of a table window's row header.
| |
DefineSplitWindow |
Splits a table window horizontally.
| |
DefWndProc |
Override the default window procedure to be able to create
hidden mdi child forms. For some unknown reason the .NET framwork
forces MDI children to be visible.
(Inherited from SalForm.) | |
DeleteRow |
Deletes a row from a table window but not from the database.
| |
DeleteSelected(SalSqlHandle) |
Applies a SQL DELETE statement to all table window rows with the ROW Selected flag.
| |
DeleteSelected(SalSqlHandle, WhenSqlErrorHandler) |
Applies a SQL DELETE statement to all table window rows with the ROW Selected flag.
| |
DestroyColumns |
Destroys all automatic columns created by SalTblCreateColumn or SalTblPopulate at
runtime. This function only works on table windows that contain only automatic
columns.
| |
DestroyWindow |
Destroys a form window, a top-level table window, or a modeless dialog box created
with SalCreateWindow.
(Inherited from SalForm.) | |
DisableWindow |
Disables keyboard and mouse input to a window. If the window contains text (for example,
a push button), the text is grayed. If the window is a data field, it cannot
receive the focus.
(Inherited from SalForm.) | |
Dispose | (Inherited from SalForm.) | |
DoDeletes(SalSqlHandle, SalNumber) |
Applies a SQL DELETE statement to all table window rows that have nFlagsOn flags.
| |
DoDeletes(SalSqlHandle, SalNumber, WhenSqlErrorHandler) |
Applies a SQL DELETE statement to all table window rows that have nFlagsOn flags.
| |
DoInserts(SalSqlHandle, SalBoolean) |
Applies a SQL INSERT statement to all the rows in a table window that have the ROW New flag.
| |
DoInserts(SalSqlHandle, SalBoolean, WhenSqlErrorHandler) |
Applies a SQL INSERT statement to all the rows in a table window that have the ROW New flag.
| |
DoUpdates(SalSqlHandle, SalBoolean) |
Applies a SQL UPDATE statement to all table window rows with the Row Edited flag.
| |
DoUpdates(SalSqlHandle, SalBoolean, WhenSqlErrorHandler) |
Applies a SQL UPDATE statement to all table window rows with the Row Edited flag.
| |
DrawMenuBar |
Redraws the menu bar for a given form window or top-level table window.
(Inherited from SalForm.) | |
EnableWindow |
Enables keyboard and mouse input to a window.
(Inherited from SalForm.) | |
EndDialog |
Destroys a modal dialog box and returns control to the caller of SalModalDialog.
(Inherited from SalForm.) | |
FetchRow |
Sends a SAM_FetchRow message to a table window if the row you specify is not currently
in the table window cache.
| |
FindChild |
This function finds a child window of a given name in the specified window.
(Inherited from SalForm.) | |
FindNextRow |
Scans forward in a table looking for a row whose flags match those specified.
| |
FindPrevRow |
Scans backward in a table looking for a row whose flags match those specified.
| |
FormUnitsToPixels |
Computes the number of pixels in the number of form units. Form units
are a unit of measurement used by functions which move and position
objects. Form units are computed using physical units (pixels) in conjunction
with the window's font size.
(Inherited from SalForm.) | |
GetClassName |
Return the name of a window's class as a string.
(Inherited from SalForm.) | |
GetColumnText(SalNumber) |
Gets data from a column of a table window's context row.
| |
GetColumnText(SalNumber, SalString%) |
Gets data from a column of a table window's context row.
| |
GetColumnWindow |
Gets the handle of a table window column.
| |
GetContextRow |
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.
| |
GetControlType |
Returns an object's type.
(Inherited from SalForm.) | |
GetDefaultButton |
Returns the handle of the default push button on a form window or dialog box. The
default push button is the one that has the focus by default.
(Inherited from SalForm.) | |
GetFirstChild |
Returns the handle of the first child window of the specified type. You can use this
function to get the handles of MDI child windows.
(Inherited from SalForm.) | |
GetFont |
Gets a window's font name, size, and enhancements.
(Inherited from SalForm.) | |
GetLinesPerRow()()()() |
Retrieves the height of a row in lines.
| |
GetLinesPerRow(SalNumber%) |
Retrieves the height of a row in lines.
| |
GetLocation |
Returns a window's current position on the X and Y axes.
(Inherited from SalForm.) | |
GetLockedColumns |
Retrieves the number of locked table window columns.
| |
GetName()()()() |
Gets the name of an object.
(Inherited from SalForm.) | |
GetName(SalString%) |
Gets the name of an object.
(Inherited from SalForm.) | |
GetNextChild |
Returns the handle of the next child window that matches a specified type.
(Inherited from SalForm.) | |
GetParent |
Returns the handle of an object's parent window.
(Inherited from SalForm.) | |
GetProperty(SalString) |
Gets the value of a named property.
(Inherited from SalForm.) | |
GetProperty(SalString, SalString%) |
Gets the value of a named property.
(Inherited from SalForm.) | |
GetRowFlags |
Queries a row's flags.
| |
GetSize |
Returns a window's size.
(Inherited from SalForm.) | |
GetStatusBarText(SalNumber) |
Gets the text displayed in the status bar of a top-level or MDI window.
(Inherited from SalForm.) | |
GetStatusBarText(SalString%, SalNumber) |
Gets the text displayed in the status bar of a top-level or MDI window.
(Inherited from SalForm.) | |
GetTableFlags |
Tests the state of a table window's flags.
| |
GetText(SalNumber) |
Retrieves the text of a window.
(Inherited from SalForm.) | |
GetText(SalString%, SalNumber) |
Retrieves the text of a window.
(Inherited from SalForm.) | |
GetWindowColor |
Gets a window's color.
(Inherited from SalForm.) | |
GetWindowState |
Returns a window's current state.
(Inherited from SalForm.) | |
HideWindow |
Hides a window.
(Inherited from SalForm.) | |
HitTest |
Returns the part of the table window located at a given coordinate.
| |
InsertRow |
Inserts a new blank row into a table window.
| |
InvalidateWindow |
Causes a window to be repainted.
(Inherited from SalForm.) | |
IsDerivedFromClass |
Determines whether a window is an instance of the specified class.
(Inherited from SalForm.) | |
IsEnabled |
Determines whether a window is enabled for mouse and keyboard input.
(Inherited from SalForm.) | |
IsVisible |
Determines whether a window is currently visible.
(Inherited from SalForm.) | |
KillCellEdit |
Takes a row out of edit mode and selects the row. This causes the row to receive
both SAM_Validate and SAM_KillFocus messages.
| |
KillFocusRow | ||
KillTimer |
Destroys an object's system timer.
(Inherited from SalForm.) | |
MoveWindow |
Moves a window a given number of form units on the X and Y axes relative to its current
position.
(Inherited from SalForm.) | |
OnActivated | (Inherited from SalForm.) | |
OnControlAdded | (Overrides Control..::..OnControlAdded(ControlEventArgs).) | |
OnControlRemoved | (Overrides Control..::..OnControlRemoved(ControlEventArgs).) | |
OnDeactivate | (Inherited from SalForm.) | |
OnFontChanged |
Resets the scaling factor when the font changes.
(Inherited from SalForm.) | |
OnHandleCreated | (Inherited from SalForm.) | |
OnHandleDestroyed | (Inherited from SalForm.) | |
OnLayout | (Overrides Form..::..OnLayout(LayoutEventArgs).) | |
OnLoad | (Overrides Form..::..OnLoad(EventArgs).) | |
OnMdiChildActivate | (Inherited from SalForm.) | |
OnMenuComplete | (Inherited from SalForm.) | |
OnMouseDown |
Attempts to automatically initiate drag mode if the control responds to SAM_DragCanAutoStart.
(Inherited from SalForm.) | |
OnPaintBackground |
Fires the internal PaintBackground event.
This allows the handler component to take over the background painting
of the form. This is primarily used to allow the SalQuickTabs control
to paint transparent backgrounds.
(Inherited from SalForm.) | |
PasteRows |
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.
| |
PixelsToFormUnits |
Computes the number of form units based on the number of pixels.
Form units are a unit of measurement used by functions that move and position objects.
Form units are computed using physical units (pixels) in conjunction
with a window's font sizes.
(Inherited from SalForm.) | |
Populate(SalSqlHandle, SalString) |
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the
result set and populates a table window with them.
| |
Populate(SalSqlHandle, SalString, SalNumber) |
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the
result set and populates a table window with them.
| |
Populate(SalSqlHandle, SalString, WhenSqlErrorHandler) |
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the
result set and populates a table window with them.
| |
Populate(SalSqlHandle, SalString, SalNumber, WhenSqlErrorHandler) |
Compiles, binds, and executes a SQL SELECT statement, then fetches the rows of the
result set and populates a table window with them.
| |
PostMessage |
Posts the specified message to a window by adding nMsg to hWndReceiver's message
queue.
(Inherited from SalForm.) | |
ProcessCmdKey |
Process command keys.
(Inherited from SalForm.) | |
ProcessDialogKey |
Processes dialog keys.
This override takes care of:
- converting Enter to Tab
- selecting radio buttons in the same group index on arrows
- processing default button, hidden or in child forms
- processing accelerators
(Inherited from SalForm.) | |
ProcessTabKey |
Selects the next control in the tab order.
(Inherited from SalForm.) | |
QueryFocusCell |
Identifies the cell in a table window with the focus.
| |
QueryRowHeader |
Gets a table window's row header definition.
| |
QueryScroll |
Returns a table window's current scroll position and range. The scroll position is
the row number of the row that is currently at the top of the window. You set
the table window range with SalTblSetRange and changes it when you insert
or delete rows from the table window.
| |
QuerySplitWindow |
Specifies how a table window is split horizontally.
| |
QueryVisibleRange |
Returns the current range of visible rows in a table window.
| |
ResetTable |
Clears a table window by discarding all rows from the table window cache and setting
the table range to 0, -1.
| |
Scale |
Scales the form and all child controls.
(Inherited from SalForm.) | |
ScaleCore |
Disables .NET 1.1 scaling.
(Inherited from SalForm.) | |
ScrollRow(SalNumber, Control) |
Scrolls a table window to the specified row and column.
| |
ScrollRow(SalNumber, Control, SalNumber) |
Scrolls a table window to the specified row and column.
| |
Select |
Selects the next control in the tab order.
(Inherited from SalForm.) | |
SendMessage |
Sends the specified message to a window. SalSendMsg does not return until the processing
for the message is complete.
(Inherited from SalForm.) | |
SendMessageToChildren |
Sends a message to all child items of a form window, dialog box, table window, or
MDI window.
(Inherited from SalForm.) | |
SetColumnText |
Assigns data to a column of a table window's context row.
| |
SetContextMenu(Type, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalForm.) | |
SetContextMenu(SalString, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
(Inherited from SalForm.) | |
SetContextRow |
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.
| |
SetCursor(Int32, SalNumber) |
Sets a window's cursor.
(Inherited from SalForm.) | |
SetCursor(SalResourceCursor, SalNumber) |
Sets a window's cursor.
(Inherited from SalForm.) | |
SetCursor(SalString, SalNumber) |
Sets a window's cursor from a string variable.
(Inherited from SalForm.) | |
SetCursorFile |
Sets an application-defined cursor for the specified window. Use this function to
set the cursor from an image stored in a file.
(Inherited from SalForm.) | |
SetFlagsAnyRows |
Sets or clears row flags.
| |
SetFocus |
Sets the focus to a specified window.
(Inherited from SalForm.) | |
SetFocusCell |
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.
| |
SetFocusRow |
Sets a table window's focus frame row.
| |
SetFont |
Sets a window's font, font size, and font enhancements.
(Inherited from SalForm.) | |
SetLinesPerRow |
Sets the height of a row in lines.
| |
SetLocation |
Moves a window to a new position (x, y) on the X and Y axes.
(Inherited from SalForm.) | |
SetLockedColumns |
Sets the number of locked table window columns.
| |
SetProperty |
Sets the value of a named property.
(Inherited from SalForm.) | |
SetRange |
Defines the minimum and maximum rows (range) of a table.
| |
SetRow |
Sets the focus to the first, last, next, or previous row in a table window.
| |
SetRowFlags |
Sets or clears a table window row's flags.
| |
SetSize |
Resizes a window.
(Inherited from SalForm.) | |
SetStatusBarText |
Displays specified text in the status bar of a top-level or MDI window.
(Inherited from SalForm.) | |
SetTableFlags |
Sets or clears a table window's flags.
| |
SetText |
Sets the text of a window.
(Inherited from SalForm.) | |
SetTimer |
Creates a system timer for a given object. When a timer event occurs, sends
SAM_Timer messages to the object in specified intervals. Timers are a limited
global resource. Your application must check the value returned by SalTimerSet
to verify that the timer was created.
(Inherited from SalForm.) | |
SetWindowColor |
Sets a window's color.
(Inherited from SalForm.) | |
SetVisibleCore |
Overrides the default behavior to avoid the re-creation
of the underlying window handle when the form is an MDI child.
(Inherited from SalForm.) | |
Show |
Shows the form.
(Inherited from SalForm.) | |
ShowAsChild(Control, Rectangle, Boolean) |
Shows the form as child control.
(Inherited from SalForm.) | |
ShowAsChild(Control, RectangleF, Boolean) |
Shows the form as child control.
(Inherited from SalForm.) | |
ShowDialog |
Shows the modal dialog.
(Inherited from SalForm.) | |
ShowStatusBar |
Shows or hides the status bar on a top-level or MDI window.
(Inherited from SalForm.) | |
ShowToolBar |
Shows or hides the tool bar on a top-level or MDI window.
(Inherited from SalForm.) | |
ShowWindow |
Makes a window visible.
(Inherited from SalForm.) | |
SortRows |
Sorts the rows of a table window based on the values in one of the
table window's columns.
| |
TrackPopupMenu(Type, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
(Inherited from SalForm.) | |
TrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
(Inherited from SalForm.) | |
UpdateWindow |
Forces the update of a window.
(Inherited from SalForm.) | |
WinHelp |
Starts the Windows help system.
(Inherited from SalForm.) | |
WndProc |
Window procedure dispatcher, overloaded to restore the
inner table window as the active control.
(Overrides SalForm..::..WndProc(Message%).) | |
Yield |
Processes messages for this control.
(Inherited from SalForm.) |