Kexi/Handbook/Building Simple Databases/Designing Forms/Setting the tab order/da: Difference between revisions
(Updating to match new version of source page) |
(Importing a new version from external source) |
||
Line 2: | Line 2: | ||
==== Indstilling af tabulatorrækkefølgen ==== | ==== Indstilling af tabulatorrækkefølgen ==== | ||
En kontrols fokus bestemmer, om kontrollens aktivitet er tilgængelig fra tastaturet. Fokus gives til kontroller, som vises i formularens datavisning. Præcis én kontrol kan have fokus ad gangen. Den oftest forekommende brug af fokus er til indskrivning af tekst (når et tekstfelt er aktivt, dvs. når det har fokus). Et andet eksemple er en knap — når den har fokus, så kan man “klikke“ på den ved at bruge <keycap>Enter</keycap> eller <keycap>Mellemrum</keycap> i stedet for musen. | |||
There are a few methods of making the widgets active (moving the focus to the widget): clicking with a mouse button, rotating the mouse wheel over the widget, or using the <keycap>Tab</keycap> key. The latter method is often used because of its speed and convenience for users. Availability of the focusing methods is controlled by '''Focus Policy''' property of a given widget. | There are a few methods of making the widgets active (moving the focus to the widget): clicking with a mouse button, rotating the mouse wheel over the widget, or using the <keycap>Tab</keycap> key. The latter method is often used because of its speed and convenience for users. Availability of the focusing methods is controlled by '''Focus Policy''' property of a given widget. |
Revision as of 16:53, 15 June 2012
Indstilling af tabulatorrækkefølgen
En kontrols fokus bestemmer, om kontrollens aktivitet er tilgængelig fra tastaturet. Fokus gives til kontroller, som vises i formularens datavisning. Præcis én kontrol kan have fokus ad gangen. Den oftest forekommende brug af fokus er til indskrivning af tekst (når et tekstfelt er aktivt, dvs. når det har fokus). Et andet eksemple er en knap — når den har fokus, så kan man “klikke“ på den ved at bruge Enter eller Mellemrum i stedet for musen.
There are a few methods of making the widgets active (moving the focus to the widget): clicking with a mouse button, rotating the mouse wheel over the widget, or using the Tab key. The latter method is often used because of its speed and convenience for users. Availability of the focusing methods is controlled by Focus Policy property of a given widget.
There is a relationship between focusing (activating) widgets using Tab key and tab order setting of a form. After pressing the Tab key, the next widget should be focused, so the form should know about the tab order.