Measuring the offset of a sub-control within a form

  • Thread starter Thread starter Phil Jones
  • Start date Start date
P

Phil Jones

Is there a consitent/easy way to get the X:Y pixel offset of a contron
within it's containing Form (irrespective of how deeply it is nested within
a control hierarchy)?

I've written a little routine that runs up the hierarchy, but I thought this
must be such an obvious thing that there might be a framework method for
doing this (that perhaps takes into accounts some problems I might not be
thinking about).

Many thanks everyone.
 
As far as I know... no. Writing your own function to do this would be
easy enough, though.
 
Back
Top