421
Mach4 General Discussion / Re: Screen Editor - Hide bar
« on: September 23, 2019, 01:14:12 PM »
The painting yourself into a corner comment was about making sure you leave a way to get the menu bar back on the screen if you need it. Edit the screen and drop a button on any page/tab you want. Or create a new tab, etc...
Just a button with:
scr.ShowMenu(true); --in the button up event script property
Or a toggle button to toggle between on and off
scr.ShowMenu(true); -- in the button up event script property
and
scr.ShowMenu(false); -- in the button down event script property
Use the screen load script to set the initial state of the menu bar, if needed.
Steve
Just a button with:
scr.ShowMenu(true); --in the button up event script property
Or a toggle button to toggle between on and off
scr.ShowMenu(true); -- in the button up event script property
and
scr.ShowMenu(false); -- in the button down event script property
Use the screen load script to set the initial state of the menu bar, if needed.
Steve