Contents
- Index
- Previous
- Next
OnGetEditControlResult event
Applies to
TProfGrid component
Declaration
property OnGetEditControlResult: TProfGridGetEditControlResultEvent;
Description
Occurs after the user has finished editing in a custom inplace editor, which has been assigned in the OnGetEditControl event.
The event receives among others the key parameter AText, which contains the proposed result string for putting back into the grid cell. An event handler can change this string to override the proposed value.
The event is especially useful for buttons (which execute some code), panels (which contain several other controls), group boxes, other types of containers, composite controls, and also for some third-party controls that do not follow the VCL conventions strictly.
Tip: The event is provided for an additional control from the application, and using this event is optional.