RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TValueListEditor.OnEditButtonClick Event

Occurs when the user click the ellipsis button on a cell in the values column or types Ctrl+Enter while focus is on a value cell with an ellipsis button.

Pascal
property OnEditButtonClick: TNotifyEvent;
C++
__property TNotifyEvent OnEditButtonClick;

Write an OnEditButtonClick to display a dialog that lets users edit a value in the Values column. This event only occurs for items for which the ItemProps property has an EditStyle of esEllipsis. 

In the event handler, you can use the Row property to identify the row that the user is editing. The event handler (or the dialog that the event handler displays) can use the Keys property to identify the current key value, and use that to get and set the corresponding entry in the Values property that is being edited. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!