RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.OnSetEditText Event

Occurs when the user edits the value of a cell.

Pascal
property OnSetEditText: TSetEditEvent;
C++
__property TSetEditEvent OnSetEditText;

Write an OnSetEditText event handler to perform any special processing of the text edited by the user in an in-place editor. For example, use the OnSetEditText event to retrieve and store the value of a cell so that it can be displayed in an OnDrawCell event handler. OnSetEditText occurs every time the user changes the text. 

The Value parameter is the new value for the cell specified by the ACol and ARow parameters. 

OnSetEditText does not occur unless the Options property includes goEditing. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!