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

Re: Using the tab control by Chris

Chris
Mon Jan 24 10:06:18 CST 2005

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
>
>



Re: Using the tab control by JoelB

JoelB
Mon Jan 24 10:33:57 CST 2005

You're a genius. Thanks Chris!

"Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
news:O3Jxk6iAFHA.1524@TK2MSFTNGP09.phx.gbl...
> 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
>>
>>
>
>



Re: Using the tab control by Chris

Chris
Mon Jan 24 10:50:39 CST 2005

Don't know if I'd go *that* far! Maybe just "smarter than the average
bear".... :)

--
<ctacke/>
www.OpenNETCF.org
Your CF searches start and end here


"JoelB" <bradjs@rimrockgroup.remove.this.com> wrote in message
news:ueV1CKjAFHA.824@TK2MSFTNGP11.phx.gbl...
> You're a genius. Thanks Chris!
>
> "Chris Tacke, eMVP" <ctacke@spamfree-opennetcf.org> wrote in message
> news:O3Jxk6iAFHA.1524@TK2MSFTNGP09.phx.gbl...
>> 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
>>>
>>>
>>
>>
>
>



Re: Using the tab control by Craig

Craig
Mon Jan 24 22:01:13 CST 2005

On Mon, 24 Jan 2005 08:58:50 -0700, JoelB
<bradjs@rimrockgroup.remove.this.com> wrote:

> 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
>
>

Actually there is a 'third-party' tabcontrol that allows this. It was
included in an MSDN article, and has other useful features such as not
loading all tabpages at once and autosizing when SIP is enabled:

http://msdn.microsoft.com/msdnmag/issues/04/12/NETCompactFramework/default.aspx

worth a try if you're up to using a 'non-standard' component...

--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET