Applies to

Child Windows


WindowDockOptions are for child windows to specify how they can be opened:

  • WindowDockOptionAll!

  • WindowDockOptionTabbedDocumentOnly!

  • WindowDockOptionDockedOnly!

  • WindowDockOptionFloatOnly!

  • WindowDockOptionTabbedDocumentAndDockedOnly!

  • WindowDockOptionTabbedDocumentAndFloatOnly!

  • WindowDockOptionDockedAndFloatOnly!


In a painter

To set the window docking:

  • Select the desired state from the WindowDockOptions drop-down list on the Docking tab page of the window's Properties view.

In scripts

You cannot specify the initial state of the window before it has been opened. You can change its display state afterwards while the window is open.

The WindowDockOptions property takes a value of the WindowDockOptions enumerated datatype. The following line sets the dock options for the current window:

This.WindowDockOptions = windowdockoptionfloatonly!