Re: Using the tab control

From: Chris Tacke, eMVP (ctacke_at_spamfree-opennetcf.org)
Date: 01/24/05


Date: Mon, 24 Jan 2005 11:06:18 -0500

It's not a shortcoming of the framework, it's a design requirement forced by
Pocket PC. If you use the same control on a vanilla CE device the tabs are
at the top. To get it to position other than at 0,0 put it in a Panel

-- 
<ctacke/>
www.OpenNETCF.org
Your CF searches start and end here
"JoelB" <bradjs@rimrockgroup.remove.this.com> wrote in message 
news:%238s9a2iAFHA.3376@TK2MSFTNGP12.phx.gbl...
> In eVB we didn't use the tab control because we couldn't get the tabs on 
> top; instead we rolled our own, using labels and frames.  Now we are 
> wriging a new app in VB.NET, and we are disappointed to find that they 
> have carried the same shortcoming of the tab control over to .NET!!  (does 
> anyone know why they would do that?)
>
> Anyway, we are tempted to use the tab control this time anyway, except for 
> the added problem that I can't find a way to keep the control from 
> obscuring the top of the screen.   Does anyone know why it doesn't behave 
> like a normal control and allow positioning on the screen, and does anyone 
> have a workaround?
>
> Thanks,
>  Joel
>
> 


Relevant Pages

  • Re: Query too large
    ... but to NOT fill the source object of the sub-form control. ... through the onChange event of the tab control, and the actual active page is ... subform (see the Form property RecordSource, in design mode of the said ...
    (microsoft.public.access.queries)
  • Re: Access 2003 - Tab control moving around on form
    ... except for that form to a new empty database. ... > I have a tab control placed on a form. ... > the tab control in design mode. ...
    (microsoft.public.access.forms)
  • Re: SDI/CFormView/TabCtrl resize problem.
    ... // Get the Tab Control and resize it accordingly. ... Only thing I don't like is that I'm resizing both the TabCtrl and the pages ...
    (microsoft.public.vc.mfc)
  • Re: 1 Main for 2 Subforms
    ... The way I usually prefer is to set the value of the tab control to the page index of the page I want to change to -- the first page has index 0, the second has index 1, and so on. ... In this case, since you particularly want to activate the detail subform, I suggest you set the focus to it. ... To simplify this, we'll create a helper function in the subform's module, and call that function from the DblClick event of various form elements. ...
    (microsoft.public.access.formscoding)
  • Re: Static Text Control problem
    ... code is for a tab control placed on the dialog from the editor toolbar. ... Use the Insert menu and add a New Class, naming it CMyTabCtrl. ... would be interesting to see if anything else is going wrong, by using the debugger. ...
    (microsoft.public.vc.mfc)