Controlling Dock Orientation - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Controlling Dock Orientation

zicheziche Posts: 47Member
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?

Comments

  • zibadianzibadian Posts: 6,349Member
    : 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.
  • patricksoopatricksoo Posts: 1Member
    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?
Sign In or Register to comment.