Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.