Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: stevehuck on September 23, 2011, 07:42:16 PM

Title: DRO color help?
Post by: stevehuck on September 23, 2011, 07:42:16 PM
I am trying to change color of the dro's. I copied the reddro.png file into the wizard's "bitmap" folder. I then changed the text to black and the dro to white. In machscreen the dros look great but when I run the wizard in mach the dros are just white with black.

Is there a setting in mach that i'm missing? 
Title: Re: DRO color help?
Post by: ger21 on September 23, 2011, 08:25:40 PM
Did you click on the colored box to set the color?
Title: Re: DRO color help?
Post by: stevehuck on September 23, 2011, 08:34:42 PM
Yes I did

Set the dro color to white
Set text color to black
Image path set to redDRO.png

Like I said, in machscreen it looks great. When I load the wizard in mach it's like the image is missing.
Title: Re: DRO color help?
Post by: ger21 on September 23, 2011, 08:48:57 PM
What's the full path? It should work.
Title: Re: DRO color help?
Post by: stevehuck on September 23, 2011, 09:31:10 PM
What's the full path? It should work.

G:\Mach3\TurnAddons\PenMaker\Bitmaps\RedDRO.png

Title: Re: DRO color help?
Post by: ger21 on September 23, 2011, 11:02:47 PM
I don't have an answer. If I create a new screen with a single DRO, it works fine. But, it's not a turn wizard.
Title: Re: DRO color help?
Post by: stevehuck on September 23, 2011, 11:21:14 PM
I don't have an answer. If I create a new screen with a single DRO, it works fine. But, it's not a turn wizard.


Maybe it wont work in Turn. I did the same thing with the new screen and it wouldn't work in turn or mach mill but the 1024 screen has green dro's  greendro.png
Title: Re: DRO color help?
Post by: stevehuck on September 24, 2011, 08:24:18 AM
Works on everybody's machine but mine.

Is there a way to shift the numbers in the DRO to the left a little bit? The numbers are right against the right edge and would look better if they were a bit to the left.

Sorry about all the questions. Still trying to figure all this out.
Title: Re: DRO color help?
Post by: BR549 on September 24, 2011, 12:38:23 PM
Steve I am not sure what you are trying to do. The redDRO is just an image that you overlay the dro on.  You set the colors of the actual DRO to white with black letters.

What were you expecting it to do?  DID the image that the DRO sits on NOT show up in mach? That would be a path problem. Were you starting from scratch or modifing another screen to make it work. The only way I can get things to work rightwith a WIZARD is to start from stratch AND make sure verything you need is IN THE RIGHT PLACE BEFORE YOU START otherwise the pathing gets screwed up EVEN THOUGH Machscreen SAYS it is right it will not work in MACH as a wizard.

ON the NUMBERS you need to check IN windows as to the DPI that the fonts use.  I think the correct settings is 96dpi.

Just a some thoughts, (;-) TP
Title: Re: DRO color help?
Post by: ger21 on September 24, 2011, 01:20:11 PM

Is there a way to shift the numbers in the DRO to the left a little bit? The numbers are right against the right edge and would look better if they were a bit to the left.

What I do is have a background DRO in my background image, the same color as the DRO. Uncheck "Boxed DRO's" in general config, and place the DRO slightly to the left, which gives the right border you're looking for.
Title: Re: DRO color help?
Post by: Klaus1311 on September 24, 2011, 04:03:29 PM
Have you specified an image path in the Generic progr settings dialog? This path is only for development of different images on the same page. Normally Mach3 expects the images beyond Mach3\Bitmaps.
I don't know, whether wizards are handled different.


Klaus
Title: Re: DRO color help?
Post by: stevehuck on September 24, 2011, 04:48:17 PM

(1) The redDRO is just an image that you overlay the dro on.  You set the colors of the actual DRO to white with black letters.

(2) DID the image that the DRO sits on NOT show up in mach?

(3) Were you starting from scratch or modifing another screen to make it work.



(1) Yep I know that. I had the dro set as white with black and the image path set to point at the image in the wizard's "bitmap" folder

(2) Yes the image did not show up in mach even when it looked and worked perfect in Machscreen.

(3) Yes I am starting from scratch. I put the whole thing together from a blank screen using MachScreen.
Title: Re: DRO color help?
Post by: stevehuck on September 24, 2011, 04:51:41 PM
Have you specified an image path in the Generic progr settings dialog? This path is only for development of different images on the same page. Normally Mach3 expects the images beyond Mach3\Bitmaps.
I don't know, whether wizards are handled different.
Klaus

No Klaus, the user defined image path is blank. I set the image path when I clicked on the dro for each individual DRO.
Title: Re: DRO color help?
Post by: stevehuck on September 24, 2011, 04:53:38 PM

Is there a way to shift the numbers in the DRO to the left a little bit? The numbers are right against the right edge and would look better if they were a bit to the left.

What I do is have a background DRO in my background image, the same color as the DRO. Uncheck "Boxed DRO's" in general config, and place the DRO slightly to the left, which gives the right border you're looking for.

Good one!

I'll give it a try.