RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid Methods

The methods of the TCustomGrid class are listed here.

 
Name 
Description 
 
Adds or deletes rows or columns from the grid. 
 
Starts the dragging of a column in the grid. 
 
Starts the dragging of a row in the grid. 
 
Returns the screen coordinates of a specified set of cells. 
 
Calculates the pixel locations of the grid boundaries. 
 
Calculates the pixel locations of the fixed cells. 
 
Determines the appearance of the mouse cursor during resizing. 
 
Indicates whether the Key parameter can be entered into the current cell. 
 
Indicates whether the current cell in the grid can be edited. 
 
Indicates whether the inplace edit control can be created to allow editing. 
 
Indicates whether the grid should respond to a given key combination. 
 
Returns the screen coordinates of a cell in the grid. 
 
Prepares the grid's canvas for painting to reflect a right-to-left or left-to-right orientation. 
 
CheckColumnDrag validates whether the column currently selected for dragging can be dropped at the current location. 
 
CheckRowDrag validates whether the row currently selected for dragging can be dropped at the current location. 
 
Provides the interface for a method that responds when the position of a column changes. 
 
Responds when the column widths change. 
 
Creates the inplace editor control. 
 
Initializes the window-creation parameter record. 
 
Adds the ColWidths and RowHeights properties to the values saved with the grid. 
 
Deletes a specified column from the grid. 
 
Deletes a specified from the grid. 
 
Hides the inplace editor when selection moves to another control in a form. 
 
Performs tasks when the mouse wheel is rotated downward. 
 
Performs tasks when the mouse wheel is rotated upward. 
 
Provides the prototype for a method that draws the contents of a cell in the grid. 
 
Ends the dragging of a column in the grid. 
 
Ends the dragging of a row in the grid. 
 
Changes the current cell to a specified cell. 
 
Provides the interface for a method that limits the number of characters the user can type into cells. 
 
Provides the interface for a method that returns an input mask for the specified cell. 
 
Indicates whether a specified cell has an ellipsis button or drop-down arrow. 
 
Returns the value of the indicated cell formatted for editing. 
 
Returns the value of the GridHeight property. 
 
Returns the value of the GridWidth property. 
 
Hides the inplace editor. 
 
Hides the inplace editor when it is not in use. 
 
Invalidates the region occupied by a cell so that it will be repainted with the next Windows paint message. 
 
Invalidates the region occupied by a column so that it will be repainted with the next Windows paint message. 
 
Causes the inplace editor to repaint itself, moving to a new location if necessary. 
 
Tells Windows to repaint the grid after other important Windows messages are handled. 
 
Invalidates the region occupied by a row so that it will be repainted with the next Windows paint message. 
 
Provides special processing when the user presses a key. 
 
Provides special processing when the user presses a key. 
 
Provides special processing when the user presses a mouse button. 
 
Provides special processing when the user moves the mouse. 
 
Provides special processing when the user releases the mouse button. 
 
Selects the cell indicated by the ACol and ARow parameters. 
 
Moves a column to a new position. 
 
Moves a row to a new position. 
 
Draws the image of the grid control on the screen. 
 
Responds when the row heights change. 
 
Provides the interface for a method that responds when the position of a row changes. 
 
Scrolls the visual image of the cells in the grid. 
 
Determines whether a particular cell in the grid can be selected. 
 
Provides the interface for a method that updates the text associated with a cell. 
 
Displays the inplace editor when the grid enters edit mode. 
 
Displays the inplace editor, with its text set to the specified character. 
 
Responds to changes in the size of the grid. 
 
Indicates whether the indicated coordinates are on one of the resize hot zones of the graph. 
 
Extends a move, resize, or selection out of the scrollable region when the user drags the mouse in a direction where the grid is scrolled. 
 
Updates the position of the inplace editor when the grid scrolls. 
 
Notifies the designer when rows and columns of the grid are moved or resized. 
 
Name 
Description 
 
Returns the row and column indexes of the cell that contains a point specified in screen coordinates. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!