K
karen.mcdonagh
Hi,
I am looking to retrieve the relative position of a control to it's
container form. The problem is that the form itself is scrollable and
when the user has scrolled to the bottom of the form the location of
the control appears to be relative to the top left corner of the
visible part of the form rather than the entire form.
I have tried using PointToClient and setting the left and top
properties of the control but nothing seems to work.
Any ideas on this would be great
Thanks
Karen
I am looking to retrieve the relative position of a control to it's
container form. The problem is that the form itself is scrollable and
when the user has scrolled to the bottom of the form the location of
the control appears to be relative to the top left corner of the
visible part of the form rather than the entire form.
I have tried using PointToClient and setting the left and top
properties of the control but nothing seems to work.
Any ideas on this would be great
Thanks
Karen