Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 02:37:25 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  VB and the development of wizards
| | |-+  Button Color?
Pages: 1 2 3 »   Go Down
Print
Author Topic: Button Color?  (Read 691 times)
0 Members and 1 Guest are viewing this topic.
stevehuck
Active Member

Offline Offline

Posts: 275


View Profile
« on: September 11, 2011, 07: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?
Logged
stevehuck
Active Member

Offline Offline

Posts: 275


View Profile
« Reply #1 on: September 11, 2011, 01: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.
Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #2 on: September 11, 2011, 01: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?Huh

Hope that helps, (;-) TP


Logged
stevehuck
Active Member

Offline Offline

Posts: 275


View Profile
« Reply #3 on: September 11, 2011, 02: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.
Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #4 on: September 11, 2011, 02:19:15 PM »

Are you using an image button in Machscreen?
Logged
stevehuck
Active Member

Offline Offline

Posts: 275


View Profile
« Reply #5 on: September 11, 2011, 02: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

Logged
BR549
Active Member

Offline Offline

Posts: 2,557


View Profile
« Reply #6 on: September 11, 2011, 02: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
Logged
stevehuck
Active Member

Offline Offline

Posts: 275


View Profile
« Reply #7 on: September 11, 2011, 02: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?
Logged
ger21
Global Moderator
*
Offline Offline

Posts: 2,619



View Profile WWW
« Reply #8 on: September 11, 2011, 03:01:36 PM »

Are you setting the path to the wizard in Machscreen in the Settings window?
Logged

stevehuck
Active Member

Offline Offline

Posts: 275


View Profile
« Reply #9 on: September 11, 2011, 03:05:42 PM »

User defined image path is set!
Logged
Pages: 1 2 3 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!