Controlling Dock Orientation

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

  • : 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.
  • 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.

Howdy, Stranger!

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

Categories