Advanced Delphi

Moderators: None (Apply to moderate this forum)
Number of threads: 333
Number of posts: 743

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Controlling Dock Orientation Posted by ziche on 10 Nov 2004 at 10:52 PM
I have FORM1 with a panel which is used as a Docksite, in my application.

The application docks 2 other forms into this panel automatically OnForm1Create. Unfortunately, it docks them vertically. I want them to be docked horizontally.

How do I control this through code?

Report
Re: Controlling Dock Orientation Posted by zibadian on 18 Nov 2004 at 4:32 PM
: I have FORM1 with a panel which is used as a Docksite, in my application.
:
: The application docks 2 other forms into this panel automatically OnForm1Create. Unfortunately, it docks them vertically. I want them to be docked horizontally.
:
: How do I control this through code?
:
:
You can use the DockOrientation property for this. The help files contain more info on this property.
Report
Re: Controlling Dock Orientation Posted by patricksoo on 25 Oct 2009 at 11:54 PM
I've tried to use the dockorientation but still fail. Do i set it for the panel? or the form? I tried both but still the forms are docked vertically! Is there a workaround?



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.