Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
How to set the position/location of floating windows.
posted

Hi,

I'm using CAB/SCSF along with the ultradockworkspace (7.3).

To display a view the  "Show"-function of the Ultradockmanager ( Show(smartPart, smartPartInfo); ) is used. Added views should be in the state "floating", so we set:  smartPartInfo.DefaultLocation = DockedLocation.Floating.

By default the floating views seem to appear in the left corner of the screen. How is it possible to change this location ? For instance a screen centered position of the floating Views would be much better for our purpose. How can we achieve this ?

 Greetings,

Thomas U.

 

Parents
No Data
Reply
  • 44743
    Verified Answer
    posted

    If you access the DockAreaPane of the pane you are about to show, you can set its FloatingLocation to a different Point to control where it will appear on screen.

Children
No Data