TAdvStringGridEAdvGridError

Contents - Methods

Delphi declaration
EAdvGridError=Class(Exception);

EAdvGridError - Methods

Contents - EAdvGridError

~EAdvGridError
Destructor

C++ declaration
inline __fastcall virtual ~EAdvGridError(void)

EAdvGridError
Constructor

C++ declaration
inline __fastcall EAdvGridError(const AnsiString Msg)

inline __fastcall EAdvGridError(const AnsiString Msg, const System::TVarRec *Args, const int Args_Size)

inline __fastcall EAdvGridError(int Ident)

inline __fastcall EAdvGridError(int Ident, const System::TVarRec *Args, const int Args_Size)

inline __fastcall EAdvGridError(const AnsiString Msg, int AHelpContext)

inline __fastcall EAdvGridError(const AnsiString Msg, const System::TVarRec *Args, const int Args_Size, int AHelpContext)

inline __fastcall EAdvGridError(int Ident, int AHelpContext)

inline __fastcall EAdvGridError(System::PResStringRec ResStringRec, const System::TVarRec *Args, const int Args_Size, int AHelpContext)

PBoolArray

Contents

Delphi declaration
PBoolArray=^TBoolarray;
C++ declaration
typedef bool *PBoolArray;
TAdvanceDirection

Contents

Direction of auto advance while editing in the grid.

Delphi declaration
TAdvanceDirection=(adLeftRight, adTopBottom);
C++ declaration
enum TAdvanceDirection { adLeftRight, adTopBottom };

Description
Value Meaning

adLeftRight direction goes from left to right first, then from top to bottom

adTopBottom direction goes from top to bottom first, then from left to right

TAnchorClickEvent

Contents

Delphi declaration
TAnchorClickEvent=procedure(Sender: TObject; aRow, aCol: integer; anchor: string; var AutoHandle: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TAnchorClickEvent)(System::TObject *Sender, int ARow, int ACol, AnsiString Anchor, bool & AutoHandle);
TAnchorEvent

Contents

Delphi declaration
TAnchorEvent=procedure(Sender: TObject; aRow, aCol: integer; anchor: string) of object;
C++ declaration
typedef void __fastcall(__closure *TAnchorEvent)(System::TObject *Sender, int ARow, int ACol, AnsiString Anchor);
TAutoAddRowEvent

Contents

Delphi declaration
TAutoAddRowEvent=procedure(Sender: TObject; ARow: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TAutoAddRowEvent)(System::TObject *Sender, int ARow);
TAutoDeleteRowEvent

Contents

Delphi declaration
TAutoDeleteRowEvent=procedure(Sender: TObject; aRow: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TAutoDeleteRowEvent)(System::TObject *Sender, int ARow);
TAutoInsertColEvent

Contents

Delphi declaration
TAutoInsertColEvent=procedure(Sender: TObject; ACol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TAutoInsertColEvent)(System::TObject *Sender, int ACol);
TAutoInsertRowEvent

Contents

Delphi declaration
TAutoInsertRowEvent=procedure(Sender: TObject; ARow: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TAutoInsertRowEvent)(System::TObject *Sender, int ARow);
TBackGroundCells

Contents

Delphi declaration
TBackGroundCells=(bcNormal, bcFixed);
C++ declaration
enum TBackGroundCells { bcNormal, bcFixed };

Description
Value Meaning

bcNormal

bcFixed

TBackGroundDisplay

Contents

Delphi declaration
TBackGroundDisplay=(bdTile, bdFixed);
C++ declaration
enum TBackGroundDisplay { bdTile, bdFixed };

Description
Value Meaning

bdTile

bdFixed

TBoolArray

Contents

Delphi declaration
TBoolArray=array[0. . MAXCOLUMNS]of Boolean;
C++ declaration
typedef bool TBoolArray[257];
TButtonClickEvent

Contents

Delphi declaration
TButtonClickEvent=procedure(Sender: TObject; aCol, aRow: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TButtonClickEvent)(System::TObject *Sender, int ACol, int ARow);
TCanAddRowEvent

Contents

Delphi declaration
TCanAddRowEvent=procedure(Sender: TObject; var CanAdd: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCanAddRowEvent)(System::TObject *Sender, bool & CanAdd);
TCanDeleteRowEvent

Contents

Delphi declaration
TCanDeleteRowEvent=procedure(Sender: TObject; ARow: integer; var CanDelete: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCanDeleteRowEvent)(System::TObject *Sender, int ARow, bool & CanDelete);
TCanEditCellEvent

Contents

Delphi declaration
TCanEditCellEvent=procedure(Sender: TObject; aRow, aCol: integer; var CanEdit: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCanEditCellEvent)(System::TObject *Sender, int ARow, int ACol, bool & CanEdit);
TCanInsertRowEvent

Contents

Delphi declaration
TCanInsertRowEvent=procedure(Sender: TObject; ARow: integer; var CanInsert: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCanInsertRowEvent)(System::TObject *Sender, int ARow, bool & CanInsert);
TCanSortEvent

Contents

Delphi declaration
TCanSortEvent=procedure(Sender: TObject; aCol: integer; var dosort: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCanSortEvent)(System::TObject *Sender, int ACol, bool & DoSort);
TCellBorder

Contents

Delphi declaration
TCellBorder=(cbTop, cbLeft, cbRight, cbBottom);
C++ declaration
enum TCellBorder { cbTop, cbLeft, cbRight, cbBottom };

Description
Value Meaning

cbTop Top side of cell has a border

cbLeft Left side of cell has a border

cbRight Right side of cell has a border

cbBottom Bottom side of cell has a border

TCellBorders

Contents

Delphi declaration
TCellBorders=set of TCellBorder;
C++ declaration
typedef Set < TCellBorder, cbTop, cbBottom > TCellBorders;

Description
Specifies which of the four borders to draw
TCellChangingEvent

Contents

Delphi declaration
TCellChangingEvent=procedure(Sender: TObject; OldRow, OldCol, NewRow, NewCol: integer; var Allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCellChangingEvent)(System::TObject *Sender, int OldRow, int OldCol, int NewRow, int NewCol, bool & Allow);
TCellHAlign

Contents

Delphi declaration
TCellHAlign=(haLeft, haRight, haCenter, haBeforeText, haAfterText, haFull);
C++ declaration
enum TCellHAlign { haLeft, haRight, haCenter, haBeforeText, haAfterText, haFull };

Description
Value Meaning

haLeft Left alignment independent of cell text

haRight Right alignment independent of cell text

haCenter Center alignment independent of cell text

haBeforeText Position image left before text

haAfterText Position image right after text

haFull Use full cell width for image

TCellsChangedEvent

Contents

Delphi declaration
TCellsChangedEvent=procedure(Sender: TObject; R: TRect) of object;
C++ declaration
typedef void __fastcall(__closure *TCellsChangedEvent)(System::TObject *Sender, const Windows::TRect & R);
TCellType

Contents

Delphi declaration
TCellType=(ctBitmap, ctIcon, ctNone, ctImageList, ctCheckBox, ctDataCheckBox, ctRotated, ctDataImage, ctNode, ctRadio, ctEmpty, ctImages, ctPicture, ctFilePicture, ctValue, ctProgress, ctComment, ctButton);
C++ declaration
enum TCellType { ctBitmap, ctIcon, ctNone, ctImageList, ctCheckBox, ctDataCheckBox, ctRotated, ctDataImage, ctNode, ctRadio, ctEmpty, ctImages, ctPicture, ctFilePicture, ctValue, ctProgress, ctComment, ctButton };

Description
Value Meaning

ctBitmap

ctIcon

ctNone

ctImageList

ctCheckBox

ctDataCheckBox

ctRotated

ctDataImage

ctNode

ctRadio

ctEmpty

ctImages

ctPicture

ctFilePicture

ctValue

ctProgress

ctComment

ctButton

TCellValidateEvent

Contents

Delphi declaration
TCellValidateEvent=procedure(Sender: TObject; Col, Row: integer; var Value: String; var Valid: Boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCellValidateEvent)(System::TObject *Sender, int Col, int Row, AnsiString & Value, bool & Valid);
TCellVAlign

Contents

Delphi declaration
TCellVAlign=(vaTop, vaBottom, vaCenter, vaUnderText, vaAboveText, vaFull);
C++ declaration
enum TCellVAlign { vaTop, vaBottom, vaCenter, vaUnderText, vaAboveText, vaFull };

Description
Value Meaning

vaTop Top alignment independent of cell text

vaBottom Bottom alignment independent of cell text

vaCenter Center alignment independent of cell text

vaUnderText Position image under text

vaAboveText Position image above text

vaFull Use full cell height for image

TCheckBoxClickEvent

Contents

Delphi declaration
TCheckBoxClickEvent=procedure(Sender: TObject; aCol, aRow: integer; state: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TCheckBoxClickEvent)(System::TObject *Sender, int ACol, int ARow, bool State);
TClickCellEvent

Contents

Delphi declaration
TClickCellEvent=procedure(Sender: TObject; arow, acol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TClickCellEvent)(System::TObject *Sender, int ARow, int ACol);
TClickSortEvent

Contents

Delphi declaration
TClickSortEvent=procedure(Sender: TObject; aCol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TClickSortEvent)(System::TObject *Sender, int ACol);
TClipboardEvent

Contents

Delphi declaration
TClipboardEvent=procedure(Sender: TObject; var allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TClipboardEvent)(System::TObject *Sender, bool & Allow);
TClipOperation

Contents

Delphi declaration
TClipOperation=(coCut, coCopy);
C++ declaration
enum TClipOperation { coCut, coCopy };

Description
Value Meaning

coCut The last clipboard operation was a Cut

coCopy The last clipboard operation was a Copy

TColChangingEvent

Contents

Delphi declaration
TColChangingEvent=procedure(Sender: TObject; OldCol, NewCol: integer; var Allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TColChangingEvent)(System::TObject *Sender, int OldCol, int NewCol, bool & Allow);
TColumnSizeEvent

Contents

Delphi declaration
TColumnSizeEvent=procedure(Sender: TObject; aCol: integer; var allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TColumnSizeEvent)(System::TObject *Sender, int ACol, bool & Allow);
TColumnSizeLocation

Contents

Delphi declaration
TColumnSizeLocation=(clRegistry, clIniFile);
C++ declaration
enum TColumnSizeLocation { clRegistry, clIniFile };

Description
Value Meaning

clRegistry Uses the registry to store column widths

clInifile Uses an INI file to store the column widths

TComboChangeEvent

Contents

Delphi declaration
TComboChangeEvent=procedure(Sender: TObject; aCol, aRow, aItemIndex: integer; aSelection: string) of object;
C++ declaration
typedef void __fastcall(__closure *TComboChangeEvent)(System::TObject *Sender, int ACol, int ARow, int AItemIndex, AnsiString ASelection);
TComboObjectChangeEvent

Contents

Delphi declaration
TComboObjectChangeEvent=procedure(Sender: TObject; ACol, ARow, AItemIndex: Integer; ASelection: string; AObject: TObject) of object;
C++ declaration
typedef void __fastcall(__closure *TComboObjectChangeEvent)(System::TObject *Sender, int ACol, int ARow, int AItemIndex, AnsiString ASelection, System::TObject *AObject);
TCustomCompareEvent

Contents

Delphi declaration
TCustomCompareEvent=procedure(Sender: TObject; str1, str2: string; var res: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TCustomCompareEvent)(System::TObject *Sender, AnsiString str1, AnsiString str2, int & Res);
TDateTimeSpinClickEvent

Contents

Delphi declaration
TDateTimeSpinClickEvent=procedure(Sender: TObject; aCol, aRow: integer; aValue: tdatetime; updown: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TDateTimeSpinClickEvent)(System::TObject *Sender, int ACol, int ARow, System::TDateTime AValue, bool UpDown);
TDblClickCellEvent

Contents

Delphi declaration
TDblClickCellEvent=procedure(Sender: TObject; aRow, aCol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TDblClickCellEvent)(System::TObject *Sender, int ARow, int ACol);
TDoFitToPageEvent

Contents

Delphi declaration
TDoFitToPageEvent=procedure(Sender: TObject; var scalefactor: double; var allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TDoFitToPageEvent)(System::TObject *Sender, double & ScaleFactor, bool & Allow);
TEditorType

Contents

Delphi declaration
TEditorType=(edNormal, edSpinEdit, edComboEdit, edComboList, edEditBtn, edCheckBox, edDateEdit, edDateEditUpDown, edTimeEdit, edButton, edDataCheckBox, edNumeric, edPositiveNumeric, edFloat, edCapital, edMixedCase, edPassword, edUnitEditBtn, edLowerCase, edUpperCase, edFloatSpinEdit, edTimeSpinEdit, edDateSpinEdit, edNumericEditBtn, edFloatEditBtn, edCustom, edRichEdit);
C++ declaration
enum TEditorType { edNormal, edSpinEdit, edComboEdit, edComboList, edEditBtn, edCheckBox, edDateEdit, edDateEditUpDown, edTimeEdit, edButton, edDataCheckBox, edNumeric, edPositiveNumeric, edFloat, edCapital, edMixedCase, edPassword, edUnitEditBtn, edLowerCase, edUpperCase, edFloatSpinEdit, edTimeSpinEdit, edDateSpinEdit, edNumericEditBtn, edFloatEditBtn, edCustom, edRichEdit };

Description
Value Meaning

edNormal Edit cell using edit control

edSpinEdit Edit cell using spin edit control

edFloatSpinEdit Edit cell using float spin edit control

edTimeSpinEdit Edit cell using time spin edit control

edDateSpinEdit Edit cell using date spin edit control

edComboEdit Edit cell using default ComboBox control

edComboList Edit cell using ComboList control

edEditBtn Edit cell using edit box with button control

edUnitEditBtn Edit cell using edit box + unit field control

edDateEdit Edit cell using date validated edit control

edButton Edit cell using button control

edNumeric Edit cell using numeric validated edit control

edPositiveNumeric Edit cell using positive numeric validated edit control

edFloat Edit cell using floating point validated edit control

edCapital Edit cell using edit control UPPER CASE only

edMixedCase Edit cell using text validated edit control

edLowerCase Edit cell in all lower case characters

edUpperCase Edit cell in all upper case characters

edTimeEdit Edit cell as time

edDateEditUpDown Edit date with updown button

edPassword Edit as password

edRichEdit Rich text inplace editoredCustom A custom inplace is used. This is set through the property.

TEditStyle

Contents

Delphi declaration
TEditStyle=(esInplace, esPopup);
C++ declaration
enum TEditStyle { esInplace, esPopup };

Description
Value Meaning

esInplace the editor is positioned inside the cell

esPopup the editor is a popup editor

TEllipsClickEvent

Contents

Delphi declaration
TEllipsClickEvent=procedure(Sender: TObject; aCol, aRow: integer; var S: string) of object;
C++ declaration
typedef void __fastcall(__closure *TEllipsClickEvent)(System::TObject *Sender, int ACol, int ARow, AnsiString & S);
TEndColumnSizeEvent

Contents

Delphi declaration
TEndColumnSizeEvent=procedure(Sender: TObject; aCol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TEndColumnSizeEvent)(System::TObject *Sender, int ACol);
TEndRowSizeEvent

Contents

Delphi declaration
TEndRowSizeEvent=procedure(Sender: TObject; aRow: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TEndRowSizeEvent)(System::TObject *Sender, int ARow);
TFindParameters

Contents

Delphi declaration
TFindParameters=(fnMatchCase, fnMatchFull, fnMatchRegular, fnDirectionLeftRight, fnMatchStart, fnFindInCurrentRow, fnFindInCurrentCol, fnIncludeFixed, fnAutoGoto, fnIgnoreHTMLTags, fnBackward);
C++ declaration
enum TFindParameters { fnMatchCase, fnMatchFull, fnMatchRegular, fnDirectionLeftRight, fnMatchStart, fnFindInCurrentRow, fnFindInCurrentCol, fnIncludeFixed, fnAutoGoto, fnIgnoreHTMLTags, fnBackward };

Description
Value Meaning

fnMatchCase match case

fnMatchFull match full word only

fnMatchRegular match the expresion

fnDirectionLeftRight search from left to right instead of from top to bottom first

fnMatchStart match from first letter of cell content only

fnFindInCurrentRow search in current row only

fnFindInCurrentCol search in current column only

fnIncludeFixed search fixed rows and columns too

fnAutoGoto go to cell when found

fnIgnoreHTMLTags ignore HTML tags in search

fnBackward search in inverse direction, ie right to left or bottom to top

TFindParams

Contents

Delphi declaration
TFindParams=set of TFindParameters;
C++ declaration
typedef Set < TFindParameters, fnMatchCase, fnBackward > TFindParams;

Description
Set of parameters for the FindFirst, FindNext or Find methods
TFitToPage

Contents

Delphi declaration
TFitToPage=(fpNever, fpGrow, fpShrink, fpAlways, fpCustom);
C++ declaration
enum TFitToPage { fpNever, fpGrow, fpShrink, fpAlways, fpCustom };

Description
Value Meaning

fpNever No resizing is applied to fit the printout on the page

fpGrow Print sizes are increased to fit on the page, no shrinking is used

fpShrink Print sizes are only decreased to fit on the page. No larger printing is used.

fpAlways Increasing or decreasing is used to fit the grid's printout on the page

fpCustom The shrink or grow ratio is queried through an event.

TFloatSpinClickEvent

Contents

Delphi declaration
TFloatSpinClickEvent=procedure(Sender: TObject; aCol, aRow: integer; aValue: double; updown: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TFloatSpinClickEvent)(System::TObject *Sender, int ACol, int ARow, double AValue, bool UpDown);
TGetCheckEvent

Contents

Delphi declaration
TGetCheckEvent=procedure(Sender: TObject; ACol, ARow: Integer; var Value: string) of object;
C++ declaration
typedef void __fastcall(__closure *TGetCheckEvent)(System::TObject *Sender, int ACol, int ARow, AnsiString & Value);
TGetEditorPropEvent

Contents

Delphi declaration
TGetEditorPropEvent=procedure(Sender: TObject; aCol, aRow: integer; aEditLink: TEditLink) of object;
C++ declaration
typedef void __fastcall(__closure *TGetEditorPropEvent)(System::TObject *Sender, int ACol, int ARow, TEditLink *AEditLink);
TGetEditorTypeEvent

Contents

Delphi declaration
TGetEditorTypeEvent=procedure(Sender: TObject; aCol, aRow: integer; var aEditor: TEditorType) of object;
C++ declaration
typedef void __fastcall(__closure *TGetEditorTypeEvent)(System::TObject *Sender, int ACol, int ARow, TEditorType & AEditor);
TGridAlignEvent

Contents

Delphi declaration
TGridAlignEvent=procedure(Sender: TObject; ARow, ACol: integer; var AAlignment: TAlignment) of object;
C++ declaration
typedef void __fastcall(__closure *TGridAlignEvent)(System::TObject *Sender, int ARow, int ACol, Classes::TAlignment & AAlignment);
TGridBorderEvent

Contents

Delphi declaration
TGridBorderEvent=procedure(Sender: TObject; ARow, ACol: integer; APen: TPen; var borders: TCellBorders) of object;
C++ declaration
typedef void __fastcall(__closure *TGridBorderEvent)(System::TObject *Sender, int ARow, int ACol, Graphics::TPen *APen, TCellBorders & Borders);
TGridColorEvent

Contents

Delphi declaration
TGridColorEvent=procedure(Sender: TObject; ARow, ACol: integer; AState: TGridDrawState; ABrush: TBrush; AFont: TFont) of object;
C++ declaration
typedef void __fastcall(__closure *TGridColorEvent)(System::TObject *Sender, int ARow, int ACol, Grids::TGridDrawState AState, Graphics::TBrush *ABrush, Graphics::TFont *AFont);
TGridFormatEvent

Contents

Delphi declaration
TGridFormatEvent=procedure(Sender: TObject; ACol: integer; var AStyle: TSortStyle; var aPrefix, aSuffix: string) of object;
C++ declaration
typedef void __fastcall(__closure *TGridFormatEvent)(System::TObject *Sender, int ACol, TSortStyle & AStyle, AnsiString & aPrefix, AnsiString & aSuffix);
TGridHintEvent

Contents

Delphi declaration
TGridHintEvent=procedure(Sender: TObject; Arow, Acol: integer; var hintstr: string) of object;
C++ declaration
typedef void __fastcall(__closure *TGridHintEvent)(System::TObject *Sender, int ARow, int ACol, AnsiString & hintstr);
TGridLook

Contents

Delphi declaration
TGridLook=(glStandard, glSoft);
C++ declaration
enum TGridLook { glStandard, glSoft };

Description
Value Meaning glStandard glSoft
TGridPrintColumnWidthEvent

Contents

Delphi declaration
TGridPrintColumnWidthEvent=procedure(Sender: TObject; aCol: integer; var width: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TGridPrintColumnWidthEvent)(System::TObject *Sender, int ACol, int & Width);
TGridPrintNewPageEvent

Contents

Delphi declaration
TGridPrintNewPageEvent=procedure(Sender: TObject; aRow: integer; var newpage: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TGridPrintNewPageEvent)(System::TObject *Sender, int ARow, bool & NewPage);
TGridPrintPageDoneEvent

Contents

Delphi declaration
TGridPrintPageDoneEvent=procedure(Sender: TObject; Canvas: TCanvas; LastRow, LastRowOffset, LastPage, PageXSize, PageYSize: Integer) of object;
C++ declaration
typedef void __fastcall(__closure *TGridPrintPageDoneEvent)(System::TObject *Sender, Graphics::TCanvas *Canvas, int LastRow, int LastRowOffset, int LastPage, int PageXSize, int PageYSize);
TGridPrintPageEvent

Contents

Delphi declaration
TGridPrintPageEvent=procedure(Sender: TObject; Canvas: tCanvas; pagenr, pagexsize, pageysize: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TGridPrintPageEvent)(System::TObject *Sender, Graphics::TCanvas *Canvas, int PageNr, int PageXSize, int PageYSize);
TGridPrintRowHeightEvent

Contents

Delphi declaration
TGridPrintRowHeightEvent=procedure(Sender: TObject; aRow: integer; var height: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TGridPrintRowHeightEvent)(System::TObject *Sender, int ARow, int & Height);
TGridPrintStartEvent

Contents

Delphi declaration
TGridPrintStartEvent=procedure(Sender: TObject; NrOfPages: integer; var FromPage, ToPage: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TGridPrintStartEvent)(System::TObject *Sender, int NrOfPages, int & FromPage, int & ToPage);
TGridProgressEvent

Contents

Delphi declaration
TGridProgressEvent=procedure(Sender: TObject; progress: smallint) of object;
C++ declaration
typedef void __fastcall(__closure *TGridProgressEvent)(System::TObject *Sender, short progress);
TInsertPosition

Contents

Delphi declaration
TInsertPosition=(pInsertBefore, pInsertAfter);
C++ declaration
enum TInsertPosition { pInsertBefore, pInsertAfter };

Description
Value Meaning pInsertBefore pInsertAfter
TIntelliPan

Contents

Delphi declaration
TIntelliPan=(ipVertical, ipHorizontal, ipBoth, ipNone);
C++ declaration
enum TIntelliPan { ipVertical, ipHorizontal, ipBoth, ipNone };

Description
Value Meaning ipVertical ipHorizontal ipBoth ipNone
TIsFixedCellEvent

Contents

Delphi declaration
TIsFixedCellEvent=procedure(Sender: TObject; aRow, aCol: integer; var IsFixed: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TIsFixedCellEvent)(System::TObject *Sender, int ARow, int ACol, bool & IsFixed);
TIsPasswordCellEvent

Contents

Delphi declaration
TIsPasswordCellEvent=procedure(Sender: TObject; aRow, aCol: integer; var IsPassword: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TIsPasswordCellEvent)(System::TObject *Sender, int ARow, int ACol, bool & IsPassword);
TMouseSelectMode

Contents

Delphi declaration
TMouseSelectMode=(msNormal, msColumn, msRow, msAll, msURL);
C++ declaration
enum TMouseSelectMode { msNormal, msColumn, msRow, msAll, msURL };

Description
Value Meaning

msNormal

msColumn

msRow

msAll

msURL

TNodeClickEvent

Contents

Delphi declaration
TNodeClickEvent=procedure(Sender: TObject; arow, arowreal: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TNodeClickEvent)(System::TObject *Sender, int ARow, int ARowreal);
TNodeType

Contents

Delphi declaration
TNodeType=(cnFlat, cn3D, cnGlyph);
C++ declaration
enum TNodeType { cnFlat, cn3D, cnGlyph };

Description
Value Meaning

cnFlat The node is a flat graphic

cn3D The node is a 3D graphic

cnGlyph The node is set by the CellNode Glyph property

TOleDragDropEvent

Contents

Delphi declaration
TOleDragDropEvent=procedure(Sender: TObject; Arow, Acol: integer; data: string; var allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TOleDragDropEvent)(System::TObject *Sender, int ARow, int ACol, AnsiString data, bool & Allow);
TOleDragOverEvent

Contents

Delphi declaration
TOleDragOverEvent=procedure(Sender: TObject; Arow, Acol: integer; var allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TOleDragOverEvent)(System::TObject *Sender, int ARow, int ACol, bool & Allow);
TOleDragStartEvent

Contents

Delphi declaration
TOleDragStartEvent=procedure(Sender: TObject; Arow, Acol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TOleDragStartEvent)(System::TObject *Sender, int ARow, int ACol);
TOleDragStopEvent

Contents

Delphi declaration
TOleDragStopEvent=procedure(Sender: TObject; OLEEffect: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TOleDragStopEvent)(System::TObject *Sender, int OLEEffect);
TOleDropColEvent

Contents

Delphi declaration
TOleDropColEvent=procedure(Sender: TObject; Arow, Acol, DropCol: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TOleDropColEvent)(System::TObject *Sender, int ARow, int ACol, int DropCol);
TOleDroppedEvent

Contents

Delphi declaration
TOleDroppedEvent=procedure(Sender: TObject; ARect: TGridRect) of object;
C++ declaration
typedef void __fastcall(__closure *TOleDroppedEvent)(System::TObject *Sender, const Grids::TGridRect & ARect);
TOnResizeEvent

Contents

Delphi declaration
TOnResizeEvent=procedure(Sender: TObject) of object;
C++ declaration
typedef void __fastcall(__closure *TOnResizeEvent)(System::TObject *Sender);
TPrintBorders

Contents

Delphi declaration
TPrintBorders=(pbNoborder, pbSingle, pbDouble, pbVertical, pbHorizontal, pbAround, pbAroundVertical, pbAroundHorizontal, pbCustom);
C++ declaration
enum TPrintBorders { pbNoborder, pbSingle, pbDouble, pbVertical, pbHorizontal, pbAround, pbAroundVertical, pbAroundHorizontal, pbCustom };

Description
Value Meaning

pbNoborder

pbSingle

pbDouble

pbVertical

pbHorizontal

pbAround

pbAroundVertical

pbAroundHorizontal

pbCustom

TPrintPosition

Contents

Delphi declaration
TPrintPosition=(ppNone, ppTopLeft, ppTopRight, ppTopCenter, ppBottomLeft, ppBottomRight, ppBottomCenter);
C++ declaration
enum TPrintPosition { ppNone, ppTopLeft, ppTopRight, ppTopCenter, ppBottomLeft, ppBottomRight, ppBottomCenter };

Description
Value Meaning

ppNone The item is not printed

ppTopLeft The item is printed at the top left side of the page

ppTopRight The item is printed at the top right side of the page

ppTopCenter The item is printed at the top center of the page

ppBottomLeft The item is printed at the bottom left side of the page

ppBottomRight The item is printed at the bottom right side of the page

ppBottomCenter The item is printed at the top center of the page

TRadioClickEvent

Contents

Delphi declaration
TRadioClickEvent=procedure(Sender: TObject; aCol, aRow, aIdx: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TRadioClickEvent)(System::TObject *Sender, int ACol, int ARow, int AIdx);
TRawCompareEvent

Contents

Delphi declaration
TRawCompareEvent=procedure(Sender: TObject; col, row1, row2: integer; var res: integer) of object;
C++ declaration
typedef void __fastcall(__closure *TRawCompareEvent)(System::TObject *Sender, int Col, int Row1, int Row2, int & Res);
TRowChangingEvent

Contents

Delphi declaration
TRowChangingEvent=procedure(Sender: TObject; OldRow, NewRow: integer; var Allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TRowChangingEvent)(System::TObject *Sender, int OldRow, int NewRow, bool & Allow);
TRowSizeEvent

Contents

Delphi declaration
TRowSizeEvent=procedure(Sender: TObject; aRow: integer; var allow: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TRowSizeEvent)(System::TObject *Sender, int ARow, bool & Allow);
TScrollHintEvent

Contents

Delphi declaration
TScrollHintEvent=procedure(Sender: TObject; Arow: integer; var hintstr: string) of object;
C++ declaration
typedef void __fastcall(__closure *TScrollHintEvent)(System::TObject *Sender, int ARow, AnsiString & hintstr);
TScrollHintType

Contents

Delphi declaration
TScrollHintType=(shNone, shVertical, shHorizontal, shBoth);
C++ declaration
enum TScrollHintType { shNone, shVertical, shHorizontal, shBoth };

Description
Value Meaning

shNone No special hints are used during scroll

shVertical Only for vertical scrolling, special hints are used

shHorizontal Only for horizontal scrolling, special hints are used

shBoth Special hints are used for both scrolling directions

TScrollType

Contents

Delphi declaration
TScrollType=(ssNormal, ssFlat, ssEncarta);
C++ declaration
enum TScrollType { ssNormal, ssFlat, ssEncarta };

Description
Value Meaning

ssNormal

ssFlat

ssEncarta

TSortBlankPosition

Contents

Delphi declaration
TSortBlankPosition=(blFirst, blLast);
C++ declaration
enum TSortBlankPosition { blFirst, blLast };

Description
Value Meaning blFirst blLast
TSortDirection

Contents

Delphi declaration
TSortDirection=(sdAscending, sdDescending);
C++ declaration
enum TSortDirection { sdAscending, sdDescending };

Description
Value Meaning

sdAscending Sorting is in ascending order

sdDescending Sorting is in descending order

TSortStyle

Contents

Delphi declaration
TSortStyle=(ssAutomatic, ssAlphabetic, ssNumeric, ssDate, ssAlphaNoCase, ssAlphaCase, ssShortDateEU, ssShortDateUS, ssCustom, ssFinancial, ssAnsiAlphaCase, ssAnsiAlphaNoCase, ssRaw, ssHTML, ssImages);
C++ declaration
enum TSortStyle { ssAutomatic, ssAlphabetic, ssNumeric, ssDate, ssAlphaNoCase, ssAlphaCase, ssShortDateEU, ssShortDateUS, ssCustom, ssFinancial, ssAnsiAlphaCase, ssAnsiAlphaNoCase, ssRaw, ssHTML, ssImages };

Description
Value Meaning

ssAutomatic

ssAlphabetic

ssNumeric

ssDate

ssAlphaNoCase

ssAlphaCase

ssShortDateEU

ssShortDateUS

ssCustom

ssFinancial

ssAnsiAlphaCase

ssAnsiAlphaNoCase

ssRaw

ssHTML

ssImages

TSpinClickEvent

Contents

Delphi declaration
TSpinClickEvent=procedure(Sender: TObject; aCol, aRow, aValue: integer; updown: boolean) of object;
C++ declaration
typedef void __fastcall(__closure *TSpinClickEvent)(System::TObject *Sender, int ACol, int ARow, int AValue, bool UpDown);
TStretchMode

Contents

Delphi declaration
TStretchMode=(noStretch, Stretch, StretchWithAspectRatio, Shrink, ShrinkWithAspectRatio);
C++ declaration
enum TStretchMode { noStretch, Stretch, StretchWithAspectRatio, Shrink, ShrinkWithAspectRatio };

Description
Value Meaning

noStretch No stretching is applied to pictures

Stretch Pictures are stretched to fit in the current cell width and height

StretchWithAspectRatio Pictures are stretched to fit in the current cell width and height, taking the aspect ratio into account

Shrink Only shrinking is used to fit an image in a cell. When the picture is smaller than the cell, no stretching occurs

ShrinkWithAspectRatio Only shrinking is used to fit an image in a cell. The aspect ratio is taken into account.

TVAlignment

Contents

Delphi declaration
TVAlignment=(vtaCenter, vtaTop, vtaBottom);
C++ declaration
enum TVAlignment { vtaCenter, vtaTop, vtaBottom };

Description
Value Meaning

vtaCenter

vtaTop

vtaBottom

TWidthArray

Contents

Delphi declaration
TWidthArray: array[257] of smallint;
C++ declaration
typedef short TWidthArray[257];