[MonoDevelop] How to Define Focussing Order in a Form
lluis at ximian.com
Mon Sep 3 10:19:33 EDT 2007
El ds 01 de 09 del 2007 a les 15:00 +0200, en/na Jacek Ruzyczka va
> dows anybody know how to define a focussing order in a form containing
> entries, checkboxes etc.? Then the user can jump between the entries by using
> the [Tab] key.
> I have already made two forms containing entries, checkboxes, and one sub-form
> each. In one of the forms, [Tab] works without any problems, but every time I
> press [Tab] in the second form, the entry currently in use just loses its
> focus, and I have to use the mouse to focus another entry. One possible
> reason is some self-made widget (entry + button in an HBox) in the second
> form, but I'm not sure...
> Is there a possibility in MD to define the focussing order of the widgets it
> contains? Theoretically, I can write a key event handler responsing to [Tab]
> and [Shift]+[Tab] scan codes, but for larger forms, this is very hard work!
> Thank you for your hints.
The tab order can't be changed in the designer, but you can define it
manually by setting the FocusChain property.
More information about the Monodevelop-list