: What are the four control state names? I'm looking for the common names of the four basic control states (for desktop interfaces): Control is in its default state; Cursor is hovering above the
I'm looking for the common names of the four basic control states (for desktop interfaces):
Control is in its default state;
Cursor is hovering above the control;
Control is being pressed;
Control is being held down, but the cursor is outside its pressing zone
So far I could come up with the following names:
default;
under cursor;
pressed under cursor;
pressed
But I don't think those are very good. Shorter and more intuitive names would look much better in code. Perhaps there are common names for each of these states?
More posts by @Holmes874
3 Comments
Sorted by latest first Latest Oldest Best
Normal, Hover, Active, Focus -- These are what I would consider being most common (a la HTML)
For desktop interfaces (wpf on .net) I use:
Normal, MouseOver, Pressed, Selected (and Disabled)
And then as different categories check states: Unchecked, Checked, (Indeterminate), and focus states: Unfocused, Focused.
On, Hover or Over, and Click are the first three. But so far as I've seen, if you slide the cursor off the "button" while continuing to click, it doesn't register as a click, so I don't know why you'd need to define it as a state.
ETA KitP suggests "Focus" in the comments below for the fourth state.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.