Advertisement
sissou123

Untitled

Dec 12th, 2023
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | Source Code | 0 0
  1. the DoDock procedure in Delphi's TControl class.
  2. procedure TControl.DoDock(NewDockSite: TWinControl; var ARect: TRect);
  3. begin
  4. inherited DoDock(NewDockSite, ARect); // Call the inherited method first
  5.  
  6. // Custom docking behavior can be implemented here
  7.  
  8. // Example: Adjust the docking rectangle
  9. ARect.Right := ARect.Left + Width;
  10. for more:https://dz-linkk.com/zH14y8
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement