How can I add special function to the Add , Edit and Delete menu items on a TDataGrid?

Question:

I am using TDataGrid.
I have assigned EditView Property as System:frmSelection
I have also Set Edit Options as Add, Edit and Delete.

The client wants functionality as follows

1. On Add if certain conditions like number of records matches then frmSelection will appear and after Selection over frmDetails will appear.
2. On edit directly frmDetails will appear.
3. On Delete without showing any form record will be deleted after confirmation from user as usual.

Answer:

1. Disable the Out of the box Add, Edit, Delete options

2.Create your own popupmenu handler script

I’d suggest buying a copy of DevLogix to quickly learn how to script in SLX.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!