Hello Guest it is April 25, 2024, 06:54:49 AM

Author Topic: Flashing Button State  (Read 3755 times)

0 Members and 1 Guest are viewing this topic.

Offline GeorgeRace

*
  •  53 53
  • My Home Built Airplane
    • View Profile
    • Race Consulting
Flashing Button State
« on: May 11, 2010, 08:45:23 PM »
I have created a set of blue buttons with white letters.  I then created the double width button necessary to have a two color button, and made the letters red on the right hand button.

They work just great, and when selected I have them flashing between white and red.  Normally white lettering when not selected.

Every now and then I will have a button that turns off the function, it quits flashing but the text remains a steady red instead of white.

Is there some way that I need to setup the information behind the LED Button so that it always shows the white type when NOT selected?

Thanks,
George
Check out my home page
http://www.mrrace.com

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Flashing Button State
« Reply #1 on: May 11, 2010, 09:16:09 PM »
If you're using an image button with no image, you need to use a blank transparent .png for the button image.
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline GeorgeRace

*
  •  53 53
  • My Home Built Airplane
    • View Profile
    • Race Consulting
Re: Flashing Button State
« Reply #2 on: May 12, 2010, 06:30:10 AM »
If you're using an image button with no image, you need to use a blank transparent .png for the button image.

Hi Gerry:

I am confused I guess.  First I place an LED and then choose the button name of the two color button I set it's action to the Function the LED is to mimic.  I then cover it with a transparent button image and assign the action to perform to the transparent button.

What am I missing in your response?
George
Check out my home page
http://www.mrrace.com

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Flashing Button State
« Reply #3 on: May 12, 2010, 07:00:40 AM »
can you post your transparent button image?
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html