Recent

Author Topic: Some doubts about anchor docking controls within a form..  (Read 641 times)

jamie

  • Hero Member
  • *****
  • Posts: 7516
Some doubts about anchor docking controls within a form..
« on: December 24, 2020, 02:20:01 am »
When I reduce the Influence Rectangle to a small area on the form when "GetSiteInfo" is called, it does narrow the response area while you are moving your mouse around for the target.

 But what I see happening is when the target area is hot the compile client area of the whole form lights up and thus if I accept the drop there it will resize the control to the size of the client area instead of keeping the control to its current size.

So in the OnDockDrop event I have to resize the control again back to normal..

Is there anyway to prevent the dock manager to from stretching my control to the full size of the site ?
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018