Topic: tablegrid

Hello Wizards

How to disabled showrecord in the tablegrid. MVD style once you have edit button on form, automatically once you enter or double click the grid the form will pop up.


In my project, I have multiple forms in one table grid, so i want disable the popup.

Thanks!

Re: tablegrid

Hello mannixs

Perhaps this can help you

  form1.tablegrid1.dbPopupMenu.Items.Find('Show Record').enabled := false;    // No record displayed
  form1.tablegrid1.dbPopupMenu.Items.Find('Find').enabled := false;                  // No search occures
  form1.tablegrid1.dbPopupMenu.Items.Find('Copy All').enabled := false;           //  No copy available
 
To place between BEGIN et END.

I've put the three instructions because I've made a Copy/Paste from my snipets collection

JB

Re: tablegrid

GOT IT! Thanks jean!