switching vb forms |
Post Reply |
Author | |
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
Posted: 04 January 2006 at 12:00pm |
I want to create an application in VB6 with a taskpane on the left side and depending on the choosen entry in I want to display different forms in the main window. |
|
dbilbija
Newbie Joined: 08 March 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
i'd love an answer to this too.... is it a tab control? are there better containers? what's a good solution for this? dushan bilbija |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
It can be UserControls. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
jcollier
Senior Member Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
|
I did this. I used a taskpane on the left side of a MDI form. In the pane I put a shortcutbar. On the shortcutbar when you click a shortcut item I show a form which has a vbAccelerator treeview. Then...in the NodeClick event of the treeview you can show the mdiChild form which will fill the rest of the main window.
I kinda pieced this together using the codejock samples for shortcutbar and Outlook 2003 sample. |
|
dbilbija
Newbie Joined: 08 March 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
how do you fix the child window from being maniupulated like a true child window? ie.... being maxmized, tiled, etc. |
|
jcollier
Senior Member Joined: 15 February 2006 Status: Offline Points: 250 |
Post Options
Thanks(0)
|
I didn't restrict mine like that but you could probably do one of several things.
1. Remove the Control Box on the child form completely 2. Disable the X on the window using the Win32 API 3. Change the BorderStyle property on the form to suit your needs. Hope this helps or at least gets you on the path to what you want! |
|
dbilbija
Newbie Joined: 08 March 2006 Status: Offline Points: 7 |
Post Options
Thanks(0)
|
that sounds like the solution. no border, no caption... so the form is fixed. i'll give it a try. thx! |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |