These methods convert
the parameter:
ToClient - from screen coordinates to client coordinates of the
ALPFrame window
ToScreen - from ALPFrame window client coordinates to screen
coordinates
Parameter to these methods can be Point
or Rect object. Returned result is a
new object of the same type as the passed parameter with the
coordinates converted.
Syntax and description
external.ToScreen(object) - converts Point or Rect object from
ALPFrame window client coordinates to screen coordinates
Example:
result = external.ToScreen(some_rect);
external.ToClient(object) - converts Point or Rect object from
screen coordinates to ALPFrame window client coordinates
Example:
result = external.ToClient(some_point);
Applies to: external
|