1. Simple question: tabbing through dialog

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

new topic     » topic index » view message » categorize

2. Re: Simple question: tabbing through dialog

"now" should be "not".

<grumble>

Mike

new topic     » goto parent     » topic index » view message » categorize

3. Re: Simple question: tabbing through dialog

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

new topic     » goto parent     » topic index » view message » categorize

4. Re: Simple question: tabbing through dialog

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

new topic     » goto parent     » topic index » view message » categorize

5. Re: Simple question: tabbing through dialog

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

new topic     » goto parent     » topic index » view message » categorize

6. Re: Simple question: tabbing through dialog

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu