MS Forms 2.0 Multipage and VB.NET

  • Thread starter Thread starter Maileen
  • Start date Start date
M

Maileen

Hi,

I want to use the control MS Forms 2.0 Multipage because it allows to
display several pages without displaying the Tab on the top (even if in
design mode).
However, when i place a simple label on this multipage, the text label
appears on all Pages...
like if text label was tied to form and not to multipage.
(i'm talking about design mode).

How can i link a control to 1 page under the design mode ?

thanks a lot,
Maileen
 
thanks a lot about this warning.

So, in this case how can i do the same thing with Tabcontrol of .NET ?
for now i just found a work around because thanks TabCOntrol we can not
hide the tabs :(

Any ideas ?
thanks a lot,
Maileen
 
Maileen said:
So, in this case how can i do the same thing with Tabcontrol of .NET ?
for now i just found a work around because thanks TabCOntrol we can not
hide the tabs :(

Why not? I posted a solution yesterday...

\\\
Me.TabControl1.Region = _
New Region( _
New RectangleF( _
Me.TabPage1.Left, _
Me.TabPage1.Top, _
Me.TabPage1.Width, _
Me.TabPage1.Height _
) _
)
///
 
Thanks a lot...i already have a work around solution for that...
however, i would like to know if there's no way to have the same feature
not only in RUNTIME mode but also in DESIGN TIME mode?

Maileen
 
moreover, this work around, just force windows to not redraw the tabs,
but i don'tt get back the space used by these "hidden" tab...
just by changing the background color of TabPage, you can see that you
loose all the space used normally by the tab sheet..
i used another tip like that :

where TCPreferences is a TabControl object :

TCPreferences.Appearance = TabAppearance.Buttons
TCPreferences.SizeMode = TabSizeMode.Fixed
TCPreferences.ItemSize = New Size(0, 1)

it reduce a much as possible this unused space let by tabs in your case.
but it's still during the runtime mode...not during design time mode.

:(

Maileen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top