Re: App with forms as tabs



I'm sure it's the same in vb2005, in vb2003 you do :

dim myform as new frmToGoOnTab
frm.toplevel=false
tabpage1.controls.add(frm)
frm.dock=DockStyle.Fill ' Expands the form to fill the tabpage
frm.show


hth
Simon

--
Simon Verona

"Tom" <tom@xxxxxxxxxx> wrote in message
news:u4EwroztGHA.148@xxxxxxxxxxxxxxxxxxxxxxx
Marina: Unfortunately, that isn't really what I 'want' to do. I want to
convert an application I already coded over to this 'Visual Studio IDE'
type format. This app has 50 or so already coded forms - I really don't
want to try to convert EVERY one of those forms over to a user
control!! That would take awhile and probably cost too much for our
company to 'approve'.

Isn't there any way to display an already-created form in a tab? How
does the VS IDE do it?

Tom
--



Marina Levit [MVP] wrote:

You would want to make user controls, and put those in the tabs.

"Tom" <tom@xxxxxxxxxx> wrote in message
news:ezGesUztGHA.4752@xxxxxxxxxxxxxxxxxxxxxxx
I'd like to create a new VB 2005 app that looks like the VS 2005
IDE - in other words, an app that has multiple forms, but instead of
displaying them seperately or in an MDI main from, I'd rather
display them in tabs across the screen. I might have functions that
are available to the app in the tree view on the left, then as they
select functions it would open them in a new tab... again, almost
exactly as the VB IDE does.

My question therefore really is: Can we display Windows Forms forms
in tabs?

Tom
--


.



Relevant Pages

  • Re: Help! How many graphicals resources a dialog can manage?
    ... A dialog template can have 255 controls max. ... I have an app with so many controls per tab that I actually have to destroy the windows ... When I display the heavier tab ...
    (microsoft.public.vc.mfc)
  • subform in tab wont display
    ... using ccess 2003 sp3 cannot display one of the subforms in one tab of the main form. ... I initially thought it was a bad security setting which allows display or no display of tab contents but I opened the database with my credentials and I could not display it and I can see everything. ... I tried closing down all other apps and rebooting and only starting this app. ...
    (comp.databases.ms-access)
  • Re: App with forms as tabs
    ... Marina: Unfortunately, that isn't really what I 'want' to do. ... convert an application I already coded over to this 'Visual Studio IDE' ... Isn't there any way to display an already-created form in a tab? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: App with forms as tabs
    ... convert an application I already coded over to this 'Visual Studio IDE' ... This app has 50 or so already coded forms - I really don't ... Isn't there any way to display an already-created form in a tab? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: subform in tab wont display
    ... It appears all the subforms in the other 6-7 tabs display just fine. ... I initially thought it was a bad security setting which allows display or no display of tab contents but I opened the database with my credentials and I could not display it and I can see everything. ... I tried closing down all other apps and rebooting and only starting this app. ...
    (comp.databases.ms-access)