а про это в справке написано!
Цитата:
ItemProps property
Specifies various constraints on the way users can enter a value for each item in the list.
|
Цитата:
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.
|
Код:
procedure TForm1.FormCreate(Sender: TObject);
begin
ValueListEditor1.ItemProps[0].ReadOnly:=True;
ValueListEditor1.ItemProps[1].EditStyle:=esEllipsis;
ValueListEditor1.OnEditButtonClick:=ValueListEditor1EditButtonClick;
end;
procedure TForm1.ValueListEditor1EditButtonClick(Sender: TObject);
begin
ShowMessage(IntToStr(ValueListEditor1.Row));
end;