Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / BlueGUI Toggle buttons

Author
Message
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 5th Jan 2007 16:51
I am familiar with the checkbox and radiobutton commands, but I can't seem to make a normal button toggle.
I tried posting events, but it doesn't work. Is there a way to do this?

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Stupify
18
Years of Service
User Offline
Joined: 28th Oct 2006
Location:
Posted: 8th Jan 2007 09:28
If i recall correctly i don't think there is an "Actual" toggle for buttons, in the sense that it stays in the up and down positions. However, I may be mistaken as its been a while since i needed that type of functionality...

You can always use a variable to track when its pushed and toggle it that way. Maybe changing the color slightly or making it flat may give it the effect of toggling.
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 8th Jan 2007 12:17 Edited at: 23rd Apr 2008 13:47
I already used a toggle variable. But I really would like it being a button that is either pushed or 3D...

Well, I came up with this:


Even though it's more like a workaround... Using the setPanelBorderStyle, you can create a 3D and sunken effect.

But then again, it's not a real button.

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.

Login to post a reply

Server time is: 2024-11-22 17:06:17
Your offset time is: 2024-11-22 17:06:17