Charmed Quark Systems, Ltd. - Support Forums and Community

Full Version: Variable problem with 2 buttons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can I have 2 buttons turn to on with one command? I would like when the sign is selected to have the sign button and the Today button turn on but if I select "work" have the Sign button still stay on and the work button turn on.[Image: Horoscope.jpg]

Here is my "Aquarius " button
Code:
Devices::FieldWrite(RonsVariables.Horoscope, Aquarius)
GlobalVars::Set Variable(GVar:MyVar, aquarius)
GlobalVars::Set Variable(GVar:MyVar2, Today)
GlobalVars::Set Variable(GVar:MyVar3, Aquarius)
GlobalVars::Set Variable(GVar:MyVar4, January 20-February 19)
GlobalVars::Set Variable(GVar:MyVar5, Daily)
Devices::FieldWrite(RonsVariables.HoroscopeButton2, Today)
Sign Text and dates::Load Overlay(Rack Sign Text V3)
Horoscope-Window::Hide/Show(False)
Devices::Field Write(VarDrv.MyText1, aquarius)

Here is my "Today" button..
Code:
Devices::FieldWrite(RonsVariables.Horoscope, Today)
GlobalVars::Set Variable(GVar:HoroscopeType, Today)
GlobalVars::Set Variable(GVar:MyVar2, Today)
GlobalVars::Set Variable(GVar:MyVar5, Today)
Horoscope-Window::Hide/Show(False)
Sign Text and dates::Load Overlay(Rack Sign Text V3)

tia,
Ron