Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxButtonColumn6 OnButtonClick

OnButtonClick

Event that occurs after user click on the button inside in-place editor.

pas
property OnButtonClick: TNotifyEvent read FOnButtonClick write FOnButtonClick;

Example

In this example InplaceEdit property that exists for every column type is used to set new value into currently active in-place editor.

pas
procedure TForm2.NxButtonColumn61ButtonClick(Sender: TObject);
begin
  NxButtonColumn61.InplaceEdit.Text := Format('Click inside row: %d', [NextGrid61.SelectedRow]);
end;

Files

Sign in