Unit RbwDataGrid4
Description
The purpose of RbwDataGrid4
is to define TRbwDataGrid4 and TRbwRowDataGrid. These two components allow individual columns or rows to be specialized for specific data types and to have other related properties.
——————————————————————————–
The software and related documentation were developed by the U.S. Geological Survey (USGS) for use by the USGS in fulfilling its mission. The software can be used, copied, modified, and distributed without any fee or cost. Use of appropriate credit is requested. The software is provided as a minimum in source code form as used on USGS computers. In many cases, the executable runfiles also are provided for these computers.
The USGS provides no warranty, expressed or implied, as to the correctness of the furnished software or the suitability for any purpose. The software has been tested, but as with any complex software, there could be undetected errors. Users who find errors are requested to report them to the USGS. The USGS has limited resources to assist non-USGS users; however, we make an attempt to fix reported problems and help whenever possible. ——————————————————————————–
Uses
- Windows
- StdCtrls
- Graphics
- Classes
- Grids
- SysUtils
- Messages
- Types
- Controls
- Forms
- Clipbrd
- Buttons
- AppEvnts
Overview
Classes, Interfaces, Objects and Records
Functions and Procedures
Types
Constants
Description
Functions and Procedures
Types
TRbwColumnFormat4 = (...); |
TRbwColumnFormat4 specifies the type of data stored in a column of a TRbwDataGrid4 or a row of a TRbwRowDataGrid.
Values
-
rcf4String:
-
rcf4Integer:
-
rcf4Real:
-
rcf4Boolean:
|
TChangeCheckEvent = procedure (Sender: TObject; ACol, ARow: Longint; const Value: TCheckBoxState) of object; |
TChangeCheckEvent is the type of TCustomRBWDataGrid.OnStateChange. It occurs the TCheckBoxState of check box changes.
Parameters
- Sender
- = the TCustomRBWDataGrid.
- ACol
- = the column that is being drawn.
- ARow
- = the row that is being drawn.
- Value
- = the new TCheckBoxState of the checkbox.
|
TBeforeDrawCellEvent = procedure (Sender: TObject; ACol, ARow: Longint) of object; |
TBeforeDrawCellEvent is the type of TCustomRBWDataGrid.OnBeforeDrawCell. A TBeforeDrawCellEvent is called just before a cell specified by ACol and ARow is drawn.
Parameters
- Sender
- = the TCustomRBWDataGrid.
- ACol
- = the column that is being drawn.
- ARow
- = the row that is being drawn.
|
TDistributeTextProgressEvent = procedure (Sender: TObject; Position, Max: integer) of object; |
|
TColSizeEvent = procedure(Sender: TObject; ACol, PriorWidth: Longint) of object; |
TColSizeEvent is the type of TCustomRBWDataGrid.OnColSize
Parameters
- Sender
- = the TCustomRBWDataGrid.
- ACol
- = the column whose width has changed.
- PriorWidth
- = the old width of ACol.
|
TCheckMoveEvent = procedure(Sender: TObject; const Origin, Destination: Longint; var CanMove: boolean) of object; |
TCheckMoveEvent is the type of TCustomRBWDataGrid.OnRowMoving and TCustomRBWDataGrid.OnColMoving
Parameters
- Sender
- = the TCustomRBWDataGrid.
- Origin
- = the column or row being moved.
- Destination
- = the new position of the column or row being moved.
- CanMove
- = Set CanMove to false to prevent the move.
|
TGridButtonEvent = procedure (Sender: TObject; ACol, ARow: Longint) of object; |
TGridButtonEvent is the type of TCustomRBWDataGrid.OnButtonClick. It occurs when a button is clicked.
Parameters
- Sender
- = the TCustomRBWDataGrid.
- ACol
- = the column that is being drawn.
- ARow
- = the row that is being drawn.
|
TRbwRowClass = class of TRbwRow; |
TRbwRowClass = class of TRbwRow;
|
TAutoAdjustColumnClass = class of TAutoAdjustColumn; |
TAutoAdjustColumnClass = class of TAutoAdjustColumn;
|
TGetButtonCaptionEvent = procedure(Sender: TObject; var ButtonCaption: string) of object; |
|
TGetButtonWidthEvent = procedure(Sender: TObject; var ButtonWidth: integer) of object; |
|
Constants
CheckBoxSize = 13; |
CheckBoxSize represents the size of a check box.
|
ComboAdustSize = 22; |
ComboAdustSize represents the width of a combobox occupied by the down arrow. ComboAdustSize is used in AdjustColWidths to ensure that the text in a cell is fully visible when that text is being edited in a combobox.
|
Author
Generated by PasDoc 0.12.1 on 2013-05-13 15:41:58