Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Toolbar and buttons
#1
Can a tool bar be used with buttons? I think I used it before for this purpose but I can't remember how I did it. I would like to have it change the color of the button when I click to load a overlay... ie. when I click on movies and it loads the movie template I would like the button to show that Movies is on.

tia,
tia, Ron

My HT equipment I want to control by CQC (some day hopefully)
Yamaha CX-A5100, Dune HD pro 4k, Dune HD Pro 4k plus, ISY 994i, LG 86" 4k FP, and a projector in the future
Reply
#2
Tool bars mostly are buttons. You can choose to use different colors for the selected tool bar item, which is done by telling the tool bar which one is selected. Generally you'd have the action for each tool bar button set itself as the active index. The active one can use different fgn1/fgn2 colors to change the text display. If one of them doesn't load an overlay, say it pops up something instead, the action for that one just doesn't set itself as the active toolbar button index, so it won't move the color to there.

Look at the auto-generated templates, which do it that way.

I think you can also have a separate image for the marked item, right?
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying CQC, need help with buttons Deane Johnson 45 13,200 11-05-2014, 03:13 PM
Last Post: Deane Johnson
  Controlling Insteon Scene Controller buttons ellisr63 8 6,124 10-14-2014, 11:38 AM
Last Post: SomeWhatLost
  Touchpanel with hard buttons IVB 4 2,400 12-18-2007, 03:31 PM
Last Post: LesAuber
  Variable problem with 2 buttons ellisr63 0 1,425 08-01-2007, 01:43 PM
Last Post: ellisr63
  hopefully my last silly question (mapping mouse buttons) willplaice 1 1,522 01-31-2007, 03:36 PM
Last Post: Dean Roddey
  Getting name of widget in the action for that widget? and q on exclusive buttons. Sendero 10 4,287 01-15-2007, 04:03 PM
Last Post: Sendero
  How do I have one set of control (on/off) buttons for multiple devices? Sendero 16 4,194 11-29-2006, 12:13 PM
Last Post: Sendero
  Looking for "action" help for buttons. rodaaent 8 3,350 10-29-2006, 09:42 AM
Last Post: rodaaent
  How are you emulating radio buttons? IVB 3 2,356 10-28-2006, 09:53 AM
Last Post: ellisr63

Forum Jump:


Users browsing this thread: 1 Guest(s)