%HI_SetDragRangeX( INT in refId, INT in _minPos, INT in _maxPos, ) %HI_SetDragRangeY( INT in refId, INT in _minPos, INT in _maxPos, )
refId | Reference to displayer (reference variable). |
_minPos | Minimal movement range of object on axis. |
_maxPos | Maximal movement range of object on axis. |
The function %HI_SetDragRangeY sets the movement range of object
on Y-axis (numbers in the range of Integer).
If X is grater than Y the function is ignored.
If both X and Y are equal to 0 (zero), the unlimited movement range is set
on Y-axis.
%HI_SetDragRangeX(_LINE, 100,300) %HI_SetDragRangeY(_LINE, 100,300)
Pridať komentár