Topic: TABLEGRID

Hello MVD

Is there a possibility to disable right click in tablegrid or select only a choices to display?

Thanks!

2 (edited by derek 2019-03-04 11:46:16)

Re: TABLEGRID

Hi Manixs,
Try putting this between the 'begin.....end' at the bottom of your script.
   form1.tablegrid1.dbPopupMenu.Items.Find('Show Record').enabled := false; 
In this example, 'Show Record' is the right-click item that I want to disable. 
You can do this for any or all of the right-click context items.
Please see also the attachment.
Regards,
Derek.

Post's attachments

Attachment icon disable tg rightclick.zip 338.82 kb, 284 downloads since 2019-03-04 

Re: TABLEGRID

THANK YOU DEREK!