Re: Problem with tab order and group box



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
.



Relevant Pages

  • RE: UserControl as container
    ... I want to create a UserControl containing a ... checkbox and a groupbox and when new controls are dropped on my control ... I want the new controls to be associated with the embedded groupbox. ... I want this groupbox to be enabled/disabled based on the checkbox. ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: UserControls as containers?
    ... Check the tab My User Controls and your control should be there. ... > Lloyd Sheen ... so that when the checkbox is false the groupbox is ... > my usercontrol and redirect it to the groupbox within my usercontrol (or ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: UserControl as container
    ... I believe I can now create the specific control that I ask about. ... However, I can't create it by inheriting from UserControl, nor do I ... designer and framework design. ... Looking at GroupBox and Panel I see that one inherits from ...
    (microsoft.public.dotnet.framework.windowsforms.controls)
  • Re: Entry into check box dependent on other check box.
    ... Is there anyway to make the pesky groupbox line invisible? ... can't format in the forms toolbar. ... "Dave Peterson" wrote: ... > on the control tab, type in the address of the cell that should be used as the ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Standard Control Locations on a Windows Forms Form
    ... Thank you for using Microsoft Managed Newsgroup, I'm Zhi-Xin Ye, it's my ... TextBoxes be arranged in columns and rows on the GroupBox. ... the TableLayoutPanel control will arrange the TextBoxes ...
    (microsoft.public.dotnet.languages.csharp)