#9 Hover method and IsHovered property for button list

open
5
2008-10-23
2008-10-20
Erio
No

Hi!

I think it would be good if we could optically highlight one button in a button list (like one row in a datagrid).

I think there should be a method Hover to set colors of the button to mouson_colors and Unhover to set colors back. And a property should tell us the current state of this (IsHovered).

Of course we can do that already now by settings colors manually but the other thing would improve the readability of the source code.

Even better would be, if I've an array of buttons within a button group list and I only needed to tell which index should be shown hovered (open question: should it be possible to have more than one button hovered?)

Bye,
Erio

Discussion

  • SubsonicDesign
    SubsonicDesign
    2008-10-21

    More than one button hovered at the same time would allow users to create nice effects. That was a nice idea, I'll try something out.. :)

     
  • SubsonicDesign
    SubsonicDesign
    2008-10-21

    • labels: --> Interface Improvements (example)
    • milestone: --> Next Release (example)
     
  • SubsonicDesign
    SubsonicDesign
    2008-10-23

    • assigned_to: nobody --> dudedesign