<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Canvas Control > Canvas Control Commands > Canvas_SetPos |
Description
Set the last point referenced (POS) for the selected canvas target.
Syntax
n = Canvas_SetPos( [STEP] x, y )
Returns
Number
Parameters
Name |
Type |
Optional |
Meaning |
x |
Number |
No |
X coordinate |
y |
Number |
No |
Y coordinate |
Remarks
The coordinate point is specified in the same terms (pixels or dialog units) as the parent dialog.
If the STEP option is included, the x and y coordinates are relative to the last point referenced (POS).
Restrictions
See also
Examples