Mon Freunde,
Nein. Ob das Select-Element den Fokus hat, sagt nichts darüber aus, ob sie ausgeklappt ist oder nicht.
in einer Richtung schon: Es kann nur dann aufgeklappt sein, wenn es auch den Focus hat - zumindest unter Windows klappt eine Dropdown-Liste (HTML-Element select) beim Focusverlust automatisch zu.
Ist das bei anderen GUIs etwa nicht so?
Schönen Sonntag noch,
Martin
--
Most experts agree: Any feature of a program that you can't turn off if you want to, is a bug.
Except with Microsoft, where it is just the other way round.
Most experts agree: Any feature of a program that you can't turn off if you want to, is a bug.
Except with Microsoft, where it is just the other way round.