Machsupport Forum

Mach Discussion => Mach Screens => Screen designer tips and tutorials => Topic started by: rrc1962 on December 09, 2010, 09:33:32 AM

Title: Add/Remove Screens in Screen4
Post by: rrc1962 on December 09, 2010, 09:33:32 AM
I'm probably overlooking something very simple, but I can't seem to figure out how to add and remove screens from a screenset in screen4.  I want to add a couple of custom screens and remove a couple of the standard screens that come in the standard Mill profile.  If I select file>new from the menu, it wants to start a new screenset, not just add another screen to the current screenset.  Does anyone know how to do this?

Thanks
Title: Re: Add/Remove Screens in Screen4
Post by: ger21 on December 09, 2010, 10:42:58 AM
To add a screen, go to the page# you want and start adding things to it.

To remove a screen, just remove everything from it. And make sure you have no buttons that take you to it.

Basically, I think every sceenset contains the maximum # of pages. The majority of them are just empty. You don't add or remove pages, you just use the ones you want.
Title: Re: Add/Remove Screens in Screen4
Post by: rrc1962 on December 09, 2010, 12:55:18 PM
Thanks Gerry.  Is there a VB function to bring up a custom screen where you can specify the screen number?  I see OEM functions that open specific panels like, diags, settings, MDI, etc, but nothing to open a custom panel.

Edit:  I may have answered my own question.  I see that OEM codes 1-7 are for Mach screens but I also see that the next code used is 100.  I'm guessing that OEM codes 1 - 99 are reserved for screens so a button using OEM code 50 would open screen #50.  Is this correct?

Title: Re: Add/Remove Screens in Screen4
Post by: ger21 on December 09, 2010, 01:14:06 PM
50 is a special screen, so it's different. The TAB key toggles #50, and I think OEM 323 toggles screen 50 on and off. But yes, all the rest are OEM 1- whatever.

I believe there are VB functions as well, something like Setpage() and Getpage(). See the manual on the documentation download page.