Contents
- Index
- Previous
- Next
OnGetEditText event
Applies to
TProfGrid component
Declaration
property OnGetEditText: TProfGridGetEditTextEvent;
Description
Occurs when the inplace editor requests the text of a cell.
Write an OnGetEditText event handler to provide the inplace editor with a string representing the contents of the cell. Set the Value parameter to the string for the cell specified by the ACol and ARow parameters. When the cell enters edit mode, the contents of the cell are drawn as the Value string returned by the OnGetEditText event handler. This image need not match the appearance of the cell when it is not in edit mode.
Tip: The event is provided for an additional control from the application, and using this event is optional.