Hello Guest it is March 29, 2024, 08:40:15 AM

Author Topic: Button Color?  (Read 8450 times)

0 Members and 1 Guest are viewing this topic.

Button Color?
« on: September 11, 2011, 08:32:59 AM »
Is it possible to change button colors in machscreen? I just want to make my cycle start botton green and the stop button red.  I would also like to put frames around groups of controls to make things easier to deal with. Is it possible to draw lines in MS?
Re: Button Color?
« Reply #1 on: September 11, 2011, 02:07:16 PM »
I have tried an image button with a BMP file attached. The button shows up in machscreen but when I load the wizard in mach the button is invisable. Funny thing is, it works. I suspect the image file isn't loading properly.

I'm gaining on it.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Button Color?
« Reply #2 on: September 11, 2011, 02:38:57 PM »
Hiya Steve, are you building screens or are you building Wizards(:-).

If you look at where things are stored for a wizzard (addons) you see that the bitmaps are normally stored in the wizards's directory under bitmaps.
C:\Mach3\Addons\Nameof Wizard\Bitmaps for example.

THEN you make sure you assign it from that directory so the screen KNOWS where to find it.

IF you are doings screens then you normall store the bitmaps in the MACH3 directory under bitmaps OR under the profile you are running.

C:\Mach3\Bitmaps   or C:\Mach3\Bitmaps\Profilename.

Same deal move them into their directory THEN assign the path.

OK you KNOW you are going to have to show and tell right????

Hope that helps, (;-) TP


Re: Button Color?
« Reply #3 on: September 11, 2011, 03:03:55 PM »
Hiya Steve, are you building screens or are you building Wizards(:-).

If you look at where things are stored for a wizzard (addons) you see that the bitmaps are normally stored in the wizards's directory under bitmaps.
C:\Mach3\Addons\Nameof Wizard\Bitmaps for example.


It's a wizard for making pens. I'm doing it for a friend that makes custom pens.

I put the bitmap in G:\Mach3\TurnAddons\PenMaker\Images

The bitmap shows up in MachScreen but when the wizard is loaded into mach the button is invisable. Im trying to figure all this out just to have a red stop button.

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Button Color?
« Reply #4 on: September 11, 2011, 03:19:15 PM »
Are you using an image button in Machscreen?
Re: Button Color?
« Reply #5 on: September 11, 2011, 03:31:36 PM »
Are you using an image button in Machscreen?

Yes I am.

Function             Stop
Code                  3
Image path         G:\Mach3\TurnAddons\PenMaker\Images\PenStopButton.bmp

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Button Color?
« Reply #6 on: September 11, 2011, 03:55:57 PM »
hUM that is a new one for me. Have you gone to the image and make sure it is not an empty image? Load it in paint??

Did it load UNDER the screen image by chance?

Just a thought, (;-) TP
Re: Button Color?
« Reply #7 on: September 11, 2011, 03:59:54 PM »
Have you gone to the image and make sure it is not an empty image? Load it in paint??

Did it load UNDER the screen image by chance?

Just a thought, (;-) TP

It's a good image that I created in paint. It shows up in machscreen.

I don't know how to check and see if it loaded under the screen image.  How do I check that?

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Button Color?
« Reply #8 on: September 11, 2011, 04:01:36 PM »
Are you setting the path to the wizard in Machscreen in the Settings window?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Button Color?
« Reply #9 on: September 11, 2011, 04:05:42 PM »
User defined image path is set!