Contents - Methods - Properties
Description
Base class for an edit link with which any TWinControl descendant editor can be used as inplace editor for the grid.
Contents - TEditLink - Properties
CreateEditor
Delphi declarationDestroyEditor
procedure CreateEditor(AParent: TWinControl);
C++ declaration
virtual void __fastcall CreateEditor(Controls::TWinControl *AParent)
Description
Override this method to create the inplace editor
Delphi declarationEditExit
procedure DestroyEditor;
C++ declaration
virtual void __fastcall DestroyEditor(void)
Description
Override this method to destroy the inplace editor
Delphi declarationEditKeyDown
procedure EditExit(Sender: TObject);
C++ declaration
void __fastcall EditExit(System::TObject *Sender)
Description
Override this method to handle leaving focus from the inplace editor
Delphi declarationFormExit
procedure EditKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
C++ declaration
virtual void __fastcall EditKeyDown(System::TObject *Sender, Word & Key, Classes::TShiftState Shift)
Description
Override this method to handle the keydown event of the inplace editor
Delphi declarationGetCellValue
procedure FormExit(Sender: TObject);
C++ declaration
void __fastcall FormExit(System::TObject *Sender)
Description
Override this method to handle leaving focus from a popup edit control.
Delphi declarationGetEditControl
function GetCellValue: string;
C++ declaration
AnsiString __fastcall GetCellValue()
Description
Retrieves the value of the edited cell
Delphi declarationGetEditorValue
function GetEditControl: TWinControl;
C++ declaration
virtual Controls::TWinControl *__fastcall GetEditControl(void)
Description
Retrieves the current inplace editor as a TWinControl. Cast to the correct class type to handle special properties of the descendant class.
Delphi declarationGetParent
function GetEditorValue: string;
C++ declaration
virtual AnsiString __fastcall GetEditorValue()
Description
Retrieves the value of the inplace edit control.
Delphi declarationHideEditor
function GetParent: TWinControl;
C++ declaration
Controls::TWinControl *__fastcall GetParent(void)
Description
Retrieves the parent of the inplace edit control. This is either the grid or the popup window control used for popup style inplace editor.
Delphi declarationSetCellProps
procedure HideEditor;
C++ declaration
void __fastcall HideEditor(void)
Description
Hides the inplace editor.
Delphi declarationSetCellValue
procedure SetCellProps(AColor: TColor; AFont: TFont);
C++ declaration
virtual void __fastcall SetCellProps(Graphics::TColor AColor, Graphics::TFont *AFont)
Delphi declarationSetEditorValue
procedure SetCellValue(s: string);
C++ declaration
void __fastcall SetCellValue(AnsiString s)
Description
Sets the value of the cell being edited.
Delphi declarationSetFocus
procedure SetEditorValue(s: string);
C++ declaration
virtual void __fastcall SetEditorValue(AnsiString s)
Description
Sets the value of the current inplace editor
Delphi declarationSetProperties
procedure SetFocus(Value: Boolean);
C++ declaration
virtual void __fastcall SetFocus(bool Value)
Description
Override this method to handle special settings when the inplace editor gains focus.
Delphi declarationSetRect
procedure SetProperties;
C++ declaration
virtual void __fastcall SetProperties(void)
Description
Override this method to set properties before the inplace editor is displayed.
Delphi declarationSetVisible
procedure SetRect(r: TRect);
C++ declaration
virtual void __fastcall SetRect(const Windows::TRect & r)
Description
Override this method to set the bounding rectangle of the inplace editor
Delphi declaration
procedure SetVisible(Value: Boolean);
C++ declaration
virtual void __fastcall SetVisible(bool Value)
Description
Override this method to handle special settings when the inplace editor is set visible
Contents - TEditLink - Methods
EditCell
Delphi declarationEditStyle
property EditCell: TPoint;
C++ declaration
__property Windows::TPoint EditCell
Description
Holds the coordinate of the current cell being edited
Delphi declarationGrid
property EditStyle: TEditStyle;
C++ declaration
__property TEditStyle EditStyle={ nodefault }
Description
Specifies either an inplace editor that is positioned inside the cell or a popup editor.
Delphi declarationPopupHeight
property Grid: TAdvStringGrid;
C++ declaration
__property TAdvStringGrid *Grid
Description
Parent grid of the inplace edit control
Delphi declarationPopupWidth
property PopupHeight: Integer;
C++ declaration
__property int PopupHeight={ nodefault }
Description
Sets the height of a popup edit control (used when EditStyle = esPopup)
Delphi declarationTag
property PopupWidth: Integer;
C++ declaration
__property int PopupWidth={ nodefault }
Description
Sets the width of a popup edit control (used when EditStyle = esPopup)
Stores an integer value as part of a component.WantKeyEscapeDelphi declaration
property Tag: Integer;
C++ declaration
__property int Tag={ nodefault }
Description
Tag has no predefined meaning. The Tag property is provided for the convenience of developers. It can be used for storing an additional integer value or it can be typecast to any 32-bit value such as a component reference or a pointer.
Delphi declarationWantKeyHomeEnd
property WantKeyEscape: Boolean;
C++ declaration
__property bool WantKeyEscape={ nodefault }
Description
When true, pressing the escape key is handled by the inplace editor. When false, the escape key is handled by the grid.
Delphi declarationWantKeyLeftRight
property WantKeyHomeEnd: Boolean;
C++ declaration
__property bool WantKeyHomeEnd={ nodefault }
Description
When true, pressing the home/end keys are handled by the inplace editor. When false, the home/end keys are handled by the grid.
Delphi declarationWantKeyPriorNext
property WantKeyLeftRight: Boolean;
C++ declaration
__property bool WantKeyLeftRight={ nodefault }
Description
When true, pressing the left/right keys are handled by the inplace editor. When false, the left/right keys are handled by the grid.
Delphi declarationWantKeyReturn
property WantKeyPriorNext: Boolean;
C++ declaration
__property bool WantKeyPriorNext={ nodefault }
Description
When true, pressing the prior/next keys are handled by the inplace editor. When false, the prior/next keys are handled by the grid.
Delphi declarationWantKeyUpDown
property WantKeyReturn: Boolean;
C++ declaration
__property bool WantKeyReturn={ nodefault }
Description
When true, pressing the return keys is handled by the inplace editor. When false, the return key is handled by the grid.
Delphi declaration
property WantKeyUpDown: Boolean;
C++ declaration
__property bool WantKeyUpDown={ nodefault }
Description
When true, pressing the up/down keys are handled by the inplace editor. When false, the up/down keys are handled by the grid.