[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Dockable Windows

Posted on 1998-07-09
4
Medium Priority
?
289 Views
Last Modified: 2010-05-03
How do I make a window dockable under vb5.0 (sp3)?

thanks
sean
0
Comment
Question by:SeanPS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:joe_s
ID: 1465358
If you're talking about making the IDE similar to 3.0 and 4.0 then do the following.

On the menu select Tools:Options:Advanced. Checking 'SDI Devel. Environment' will give you the 3.0/4.0 IDE, unchecking docks the windows (default for 5.0). Also, under Tools:Options:Docking you can check which windos you want docked.
0
 

Author Comment

by:SeanPS
ID: 1465359
sorry, thats not what i meant.

i've got an mdi app and i want the child forms (MDIChild property = TRUE) to dock when i run the app.

that any clearer?
0
 
LVL 1

Accepted Solution

by:
shagnasty earned 210 total points
ID: 1465360
Set the border child forms border style to 0 (None - this will stop the user being able to move the form by draggin the caption bar) and then .Move the form in code.

E.g. To Dock it at the top you would do:

frmChild. Move 0,0,frmChild.Parent.ScaleWidth, frmChild.Height

Be sure to include some mechanism to allow the user to "Undock" it.
0
 

Author Comment

by:SeanPS
ID: 1465361
obviously i goofed.  i meant to give 75 points for this question not 7.  how do i up the value?
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question