Re: Problem with tab order and group box
- From: Hans-Peter Diettrich <DrDiettrich1@xxxxxxx>
- Date: Thu, 01 May 2008 20:47:14 +0200
fig000 schrieb:
I have a feeling that when it hits the groupbox in the tab order
it's automatically going to the first control and then the SelectNext
is sending it right to the second.
Right, a groupbox cannot have the focus (i.e. receive keyboard input), it will give the focus to it's first child control.
I've tried not doing the SelectNext
if I'm in the groupbox (testing groupbox.focused) or in the first of
the two controls (listbox.focused). In neither case does focus seem
to detect that I'm in the groupbox so it doesn't work.
.... because the groupbox can not have the focus.
I have no cure for your problem, it might depend on your Delphi version, and on the Windows version on the device - WinCE?
DoDi
.
- References:
- Problem with tab order and group box
- From: fig000
- Problem with tab order and group box
- Prev by Date: Problem with tab order and group box
- Next by Date: Re: Problem with tab order and group box
- Previous by thread: Problem with tab order and group box
- Next by thread: Re: Problem with tab order and group box
- Index(es):
Relevant Pages
|