Topic: [SOLVED] popup menu action delete
Hi everyone,
how can I intercept the "delete" event generated by a popup menu?
I would like to replace it with a custom script.
Thank you.
My Visual Database → General → [SOLVED] popup menu action delete
Hi everyone,
how can I intercept the "delete" event generated by a popup menu?
I would like to replace it with a custom script.
Thank you.
I solved in this way
procedure OnClickdelRecord(Sender: TObject);
begin
form1.buttondelete.Click; // buttondelete is a button create on form1 with a custom script
end;
begin
Form1.TableGrid1.dbPopupMenu.Items[1].OnClick := @OnClickdelRecord; // items[1] is the index of the voice delete on popupmenu
end.
My Visual Database → General → [SOLVED] popup menu action delete
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi