TdxCustomDockControl.MakeFloating(Integer,Integer) Method
Makes the control floating.
Declaration
procedure MakeFloating(XPos: Integer; YPos: Integer); overload; virtual;
Parameters
Name | Type |
---|---|
XPos | Integer |
YPos | Integer |
Remarks
Use the MakeFloating method to change the dock control’s state to floating. Note that if the control is within a floating container, it is undocked from the container so that it floats separately.
The MakeFloating method has two overloads. If it is called without parameters, the method acts as if the end-user has double-clicked the control’s caption (or the tab corresponding to the control, if it is within a tab container). The control is made to float with its previous floating size and close to its docking site.
If you need to specify a custom position for the control when floating, use MakeFloating’s second overload. The XPos and YPos parameters specify the position of the top-left corner of the floating window. These parameters represent screen coordinates.