Howdy, Stranger!

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

In this Discussion

dock question

I make all my panels float at run time. i would like these panels to
only be able to dock inside each other and never on top, bottom,left or
right of the panels themselves or site(form).
Is that possible.
thanks...

Comments

  • 3 Comments sorted by Votes Date Added
  • Hi,

    You can use OnUpdateHotSpots event handler to disable unneded hotspots. For floating sites you can hook your event handler for this event inside dock manager's OnCreateFloatingSite event. Also look at OnDragOver and OnGetSiteInfo events.

    However, if you don't want to dock inside your main docking site, why you need it at all :) just for design-time?
  • Ok, thanks for that little bit of information. Where do i find code examples in the small pdf included?
    When my program starts I make all my panels float. Now i want the panels to dock inside each other or undock them. I do not want them to dock on any side of the main form or any side of each floating panels (just dock inside).

    Could you show me some code on how to do that?
    Thanks.
Sign In or Register to comment.