Machsupport Forum

Mach Discussion => Mach Screens => Machscreen Screen Designer => Topic started by: hancock on October 21, 2016, 12:35:33 PM

Title: MachScreen LED Problem (Image Resize + OEM Code)
Post by: hancock on October 21, 2016, 12:35:33 PM
Hello,

I'm currently building a new screen and I stumbled upon a problem that I, for the love of god, can't get rid off. I tried for 3 hours and so here I am ;)

Basically, I want to display a LED next to the menu item (Programm, MDI, Settings..) depending on which site is currently active. Does anyone has the OEM code number for that? I tried index/826 but all LEDs are on.

But the real problem is that I can't load a custom LED image (png). It get's resized everytime. It's like the program crops a part of it and when I enter the correct size in the fields the cropped image is resized but of course therefore not correctly.

Any help is HIGHLY appreciated!!
Cheers,
Hancock
Title: Re: MachScreen LED Problem (Image Resize + OEM Code)
Post by: ger21 on October 21, 2016, 03:06:15 PM
Does your image have both on and off states, side by side? Only half of the image is displayed.
Like this:
Title: Re: MachScreen LED Problem (Image Resize + OEM Code)
Post by: hancock on October 21, 2016, 05:02:10 PM
Does your image have both on and off states, side by side? Only half of the image is displayed.
Like this:

T H A N K S!!! Now the image is shown correctly sized. Now I have to figure out why it's not switching ;)

BTW: Do you happen to know if there's a manual for MachScreen? I want to customize different fonts and colors...
Title: Re: MachScreen LED Problem (Image Resize + OEM Code)
Post by: ger21 on October 21, 2016, 06:52:44 PM
No, I don't know, as I use Screen4.
You can't use multiple fonts in a Mach3 screen. You only get to choose one, and it's done in Mach3.
Title: Re: MachScreen LED Problem (Image Resize + OEM Code)
Post by: Klaus1311 on October 24, 2016, 11:38:20 AM
Hi Hancock,

if you want a control be displayed on every page the best way is to put it on screen 0.


Klaus