1. Simple question: tabbing through dialog
- Posted by Mike777 <anon4321 at ?mail.?om> Dec 11, 2007
- 492 views
- Last edited Dec 12, 2007
The first of (probably) many questions that are ridiculously easy for somebody who already knows the answer: I created a project in the Windows Enhanced IDE 1.0.2. That project has one window and on that window I have 3 controls: 1 treeview and 2 simple combo-boxes. On the properties sheet of the three controls there is a property entitled: Control Order. The treeview has a 1, the simple combo boxes are 3 and 5. 2 and 4 are the labels for the combo boxes. When I place the mouse in the first combo box and left-click, the focus appropriately changes to that combo box. However, when I hit the "tab" key, the focus does now change to the next control, which I would expect to be the second combo box, whose Control Order is 5. Can anybody point me in the right direction? Thanks Mike
2. Re: Simple question: tabbing through dialog
- Posted by Mike777 <anon4321 at gma?l.co?> Dec 11, 2007
- 472 views
- Last edited Dec 12, 2007
"now" should be "not". <grumble> Mike
3. Re: Simple question: tabbing through dialog
- Posted by Judith Evans <camping at ccewb?ne?> Dec 11, 2007
- 505 views
- Last edited Dec 12, 2007
Mike777 wrote: > > The first of (probably) many questions that are ridiculously easy for somebody > who already knows the answer: > > I created a project in the Windows Enhanced IDE 1.0.2. That project has one > window and on that window I have 3 controls: 1 treeview and 2 simple > combo-boxes. > On the properties sheet of the three controls there is a property entitled: > Control Order. The treeview has a 1, the simple combo boxes are 3 and 5. 2 > and 4 are the labels for the combo boxes. When I place the mouse in the first > combo box and left-click, the focus appropriately changes to that combo box. > However, when I hit the "tab" key, the focus does now change to the next > control, > which I would expect to be the second combo box, whose Control Order is 5. > > Can anybody point me in the right direction? > > Thanks > > Mike Mike, in the yet to be released versions of Win32lib and IDE this works fine. Since you are forced to use the IDEWin32lib until these versions are released, I suspect that win32lib did not support tabbing very well. You can change the order of the controls, and hence the tab order, by going up to the MenuBar and clicking Generate Tools and MenuItem Change Control Order For Program. This doesn't affect the layout of the controls are in the Window. judith evans
4. Re: Simple question: tabbing through dialog
- Posted by Judith Evans <camping at cc??b.net> Dec 11, 2007
- 487 views
- Last edited Dec 12, 2007
Judith Evans wrote: > > Mike777 wrote: > > > > The first of (probably) many questions that are ridiculously easy for > > somebody > > who already knows the answer: > > > > I created a project in the Windows Enhanced IDE 1.0.2. That project has one > > window and on that window I have 3 controls: 1 treeview and 2 simple > > combo-boxes. > > On the properties sheet of the three controls there is a property entitled: > > Control Order. The treeview has a 1, the simple combo boxes are 3 and 5. 2 > > and 4 are the labels for the combo boxes. When I place the mouse in the > > first > > combo box and left-click, the focus appropriately changes to that combo box. > > However, when I hit the "tab" key, the focus does now change to the next > > control, > > which I would expect to be the second combo box, whose Control Order is 5. > > > > Can anybody point me in the right direction? > > > > Thanks > > > > Mike > > Mike, in the yet to be released versions of Win32lib and IDE this works fine. > Since you are forced to use the IDEWin32lib until these versions are released, > I suspect that win32lib did not support tabbing very well. > > You can change the order of the controls, and hence the tab order, by going > up to the MenuBar and clicking Generate Tools and MenuItem Change Control > Order > For Program. This doesn't affect the layout of the controls are in the Window. > > judith evans I neglected to say I think the controls might be tabbing from the TreeView to the Label and then the Combo. So changing the tab order to be TreeView, Combo, Combo, Label, Label will make the tabing appear correctly. judith evans
5. Re: Simple question: tabbing through dialog
- Posted by Mike777 <anon4321 at gmail.?o?> Dec 11, 2007
- 491 views
- Last edited Dec 12, 2007
Judith Evans wrote: > > Judith Evans wrote: > > > > Mike777 wrote: > > > > > > The first of (probably) many questions that are ridiculously easy for > > > somebody > > > who already knows the answer: > > > > > > I created a project in the Windows Enhanced IDE 1.0.2. That project has > > > one > > > window and on that window I have 3 controls: 1 treeview and 2 simple > > > combo-boxes. > > > On the properties sheet of the three controls there is a property > > > entitled: > > > Control Order. The treeview has a 1, the simple combo boxes are 3 and 5. > > > 2 > > > and 4 are the labels for the combo boxes. When I place the mouse in the > > > first > > > combo box and left-click, the focus appropriately changes to that combo > > > box. > > > However, when I hit the "tab" key, the focus does now change to the next > > > control, > > > which I would expect to be the second combo box, whose Control Order is 5. > > > > > > Can anybody point me in the right direction? > > > > > > Thanks > > > > > > Mike > > > > Mike, in the yet to be released versions of Win32lib and IDE this works > > fine. > > Since you are forced to use the IDEWin32lib until these versions are > > released, > > I suspect that win32lib did not support tabbing very well. > > > > You can change the order of the controls, and hence the tab order, by going > > up to the MenuBar and clicking Generate Tools and MenuItem Change Control > > Order > > For Program. This doesn't affect the layout of the controls are in the > > Window. > > > > judith evans > > I neglected to say I think the controls might be tabbing from the TreeView to > the Label and then the Combo. So changing the tab order to be TreeView, Combo, > Combo, Label, Label will make the tabing appear correctly. Thanks for the quick replies. I must be doing something silly, because I've tried your suggestion and a number of other combinations and no tabbing works at all. When I select a value from the drop down list and then hit the TAB key, the drop down list retracts and the selected text appears in the edit portion of the combo and is highlighted in blue, but the tab key otherwise does not move the focus to another control. This is true whether I'm working with the first or the second combo box. I'm wondering if the tree is just getting in the way. Hold on....nope, deleting the tree had no effect. If you have any other suggestions as to what to do, let me know. Thanks Mike
6. Re: Simple question: tabbing through dialog
- Posted by Mike777 <anon4321 at gm?il.c?m> Dec 12, 2007
- 483 views
Mike777 wrote: > > Judith Evans wrote: > > > > Judith Evans wrote: > > > > > I neglected to say I think the controls might be tabbing from the TreeView > > to > > the Label and then the Combo. So changing the tab order to be TreeView, > > Combo, > > Combo, Label, Label will make the tabing appear correctly. > > Thanks for the quick replies. I must be doing something silly Yup. PBCAK. The physical size of the labels overlapped by a pixel or two with the physical placement of the combo controls. Windows is not very good at understanding how to tab things when controls overlap. Shrinking the labels ever so slightly cured the problem. Thanks Mike