If inscribe
CodePudding user response:
.
Private
{Private declarations}
Procedure cxGrid1DBTableView1ColumnPropertiesButtonClick (
Sender: TObject; AButtonIndex: Integer);
Public
{Public declarations}
end;
Var
Form1: TForm1;
Implementation
{$R *. DFM}
Procedure TForm1. CxGrid1DBTableView1ColumnPropertiesButtonClick (
Sender: TObject; AButtonIndex: Integer);
The begin
//...
end;
Procedure TForm1. CxButton1Click (Sender: TObject);
The begin
//set as 3 button properties:
CxGrid1DBTableView1. Columns [3]. PropertiesClass:=TcxButtonEditProperties;
//click event:
(cxGrid1DBTableView1. Columns [3]. The Properties as TcxButtonEditProperties). OnButtonClick
:=cxGrid1DBTableView1ColumnPropertiesButtonClick;
end;
.
CodePudding user response:
I mean can call like button BTN. Click event is same,,,