Contents
- Index
- Previous
- Next
OnGetEditControlText event
Applies to
TProfGrid component
Declaration
property OnGetEditControlText: TProfGridGetEditControlTextEvent;
Description
Occurs after the OnGetEditControl event if the application has provided an external control in the OnGetEditControl event handler.
The event receives among others two key parameters: AText and DoSetText. The DoSetText parameter indicates whether the grid has planned to set a text for custom inplace editor. You can change this parameter within the event handler to force the grid to set (DoSetText=True) or not set (DoSetText=False) the text for the control. The text itself is passed in the AText parameter. If you choose to allow the grid to set the text, you can still change the proposed text in the event handler by changing the AText parameter.
Tip: The event is provided for an additional control from the application, and using this event is optional.