I’ve been struggling to be able to hide the “New” button in my grid.
I know I can:
- remove the “Form buttons” buttons group in the Toolbar
- use the “sc_btn_display(new, off);” macro (I tried to use it in all events).
Nothing of this works. The “New” button keeps showing up again.
My grid is displayed from a master Form with the “master-detail” feature. Therefore there is no setting here to tell the grid to display or not the New button individually.
I tried to switch from “Grid view mode = Enable all features” to “View only”. This hides all buttons in the Toolbar, even the other buttons I want to keep. Grrrr …
I also tried to use the “sc_btn_macro” in different ways (saw them in the forum):
and did the same thing with “sc_btn_display(insert, off);”
This New button does not want to go away …
Any idea to help me ?
Thanks a lot.