SCGrid Methods
    SCGrid Properties Methods Events Enumerations  
 

Members

Methods
AdjustHeight Resizes the height of the specified row.
AdjustWidth Resizes the width of the specified column.
ADODelete Deletes record at the specified row.
ADOGetRow Gets record at the specified row.
ADOInsert Inserts record at the specified row.
ADORefresh Re-populates the grid control with the contents of the data source.
ADOResync Refreshes the data in the current Recordset object from the underlying database.
ADOUpdate Updates record at the specified row.
AutoSizeRows Resizes the height of each row to fit a specified number of lines based on the default font of the grid control.
CalcRectText Returns the size (in Width, Height) of the specified cell if the entire contents is displayed in it.
ClearCol Clears the contents of Text and Key of all cells at the specified column.
ClearRow Clears the contents of Text and Key of all cells at the specified row.
ClearVisualCell Clears the visual of the specified cell.
ColorBrightness Returns the new color with the brightness factor [0..100].
ColOrder Returns the initial order of the column or the position of the named column.
ComboAddItem Adds an item to the combo-box built-in control.
ComboClear Clears the contents of the combo-box built-in control.
ComboRemoveItem Removes an item from the combo-box built-in control.
CopyCell Copies cell from one to another.
CopyCol Copies column from one to another.
CopyColumnSetting Copies column setting from one to another.
CopyRow Copies row from one to another.
CopyToClipboard Copies the contents of Text to the clipboard.
CurrentPos Sets the current positon. In virtual mode, this method is prefered to CurrentCol or CurrentRow.
DeleteCols Deletes a number of columns starting from the specified column.
DeleteRows Deletes a number of rows starting from the specified row.
DeselectAll Deselects all selected cols or rows.
EnterEdit Enters the current cell for editing.
ExitEdit Exits the current cell.
GetCellAtPos Gets the coordinates of the cell at a specific position.
GetCellParentAtPos Gets the coordinates of the parent cell at a specific position.
GetFitToSizeEndCol Returns the end column that will fit into the specified width size.
GetFitToSizeEndRow Returns the end row that will fit into the specified height size.
GetMouseButton Returns an integer that identifies the button that was pressed (MouseDown) or released (MouseUp) to cause the event.
GetMouseShift Returns an integer that corresponds to the state of the SHIFT, CTRL, and ALT keys when the button specified in the button argument is pressed or released.
GetPictureCell Gets the picture of cell.
GetPictureCells Gets the picture of the specified cells.
GetPictureGrid Gets the picture of the grid at a specific position.
GetPositionCell Returns the position in twips (x, y) of the cell (Row,Col).
GetScaleHeight Returns the Height excluding the scrollbar size if any.
GetScaleWidth Returns the Width excluding the scrollbar size if any.
GetSelectedCells Returns a range of selected cells.
GetSizeCell Returns the size (in pixels) of the cell (Row,Col).
GetSizeCells Returns the size (in pixels) of the specified group of cells.
HideCol Hides a number of columns starting from the specified column.
HideRow Hides a number of rows starting from the specified row.
InsertCols Inserts a number of columns before the specified column.
InsertRows Inserts a number of rows before the specified row.
InvertSelect Inverts selection (if any) and returns the number of selection.
IsCurrent Easy way to test whether or not the specified row, column is the current cell.
IsEditMode Returns a value indicating whether or not the grid is in edit mode.
IsParent Returns a value indicating whether or not the parent of cell (Row,Col) is (ParentRow,ParentCol).
IsSizingMode Returns a value indicating whether or not user is resizing a row or a column.
IsVisibleCell Returns a value indicating whether or not the specified cell is visible.
IsVisibleCol Returns a value indicating whether or not the specified column is visible.
IsVisibleRow Returns a value indicating whether or not the specified row is visible.
IsVisibleScrollH Returns a value indicating whether or not the horizontal scroll is visible.
IsVisibleScrollV Returns a value indicating whether or not the vertical scroll is visible.
LoadFromArray Populates the grid control from an array.
Move Moves an object.
MoveCol Moves column.
MoveRow Moves row.
NextSelectedCols Returns the current range of selected cols and moves to the next selected item.
NextSelectedRows Returns the current range of selected rows and moves to the next selected item.
OLEDrag Starts an OLE drag/drop event with the given control as the source.
PasteFromClipboard Pastes the contents of the clipboard to Text.
PrintingCells Prints cells.
Refresh Refreshes grid.
RefreshCell Refreshes the individual cell and the built-in edit-box if in edit mode.
RemoveSpanRows Removes groups for the specified column.
ReOrderCols Replaces columns to the initial order, before they were moved.
ResetCells Initializes the cell formatting of the specified group of cells. The number of rows and columns in the grid is not affected by this method.
ResetGrid Initializes the cell formatting of the grid. The number of rows and columns in the grid is not affected by this method.
RestoreVisualCell Restores the visual stored in the specified index.
RestoreVisualToCell Restores visual stored in the specified index into the specified cell.
SaveColumnSetting Saves column setting.
SCScriptAdd Adds script string.
SCScriptClear Clears the script list.
SCScriptExecute Executes scripts added.
SearchCol Searches in all the columns at the specified row for the search string and returns the number of matched columns.
SearchRow Searches in all the rows at the specified column for the search string and returns the number of matched rows.
SelectCountCell Returns the number of selected cells.
SelectCountCol Returns the number of selected columns.
SelectCountRow Returns the number of selected rows.
SelectItem Returns the selected columns/rows by position.
SetFocus Moves the focus to the grid.
SetPictureAlpha Sets the AlphaBlending value when using PictureGrid.
SetPictureCell Draws into the cell the image handled in PictureHdc.
SetPictureOriginDest Sets the origin destination to be used in GetPictureCell, GetPictureCells and GetPictureGrid methods.
SetSelectedCells Selects a group of cells.
ShowAbout Shows the SCGrid About box.
ShowCol Displays column.
ShowRow Displays row.
ShowWhatsThis Displays a selected topic in a Help file using the What's This popup provided by Windows 95 Help.
Sort Sorts rows on the specified column.
SpanRows Groups rows having same value in the Text or Key properties for the specified column.
StartSelectedItems Moves the current selection position to the first selected item.
StoreVisualCell Stores the visual of the specified cell.
SwapCols Swaps two columns.
SwapRows Swaps two rows.
ZOrder Places a specified object at the front or back of the z-order within its graphical level.