Advertisement
D98rolb

Undock

Dec 12th, 2023
1,610
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Delphi 0.23 KB | Software | 0 0
  1. procedure TRightPaneForm.Undock(const aForm: TCustomForm);
  2. var
  3.  Rect: TRect;
  4. begin
  5.   Rect.Left := Left;
  6.   Rect.Top := Top;
  7.   Rect.Width := Width;
  8.   Rect.Height := Height;
  9.   Rect := ClientToScreen(Rect);
  10.   ManualFloat(Rect);
  11. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement