TcxCustomCanvas.MoveWindowOrg(TPoint) Method
In This Article
Shifts the window origin horizontally and/or vertically.
#Declaration
#Parameters
Name | Type |
---|---|
P | TPoint |
#Returns
Type |
---|
TPoint |
#Remarks
Call this function and pass a point position as the P parameter to subtract it from the window origin position. The MoveWindowOrg function is useful if you need to scroll the canvas within a window. The function returns the window origin before the move operation, so you can assign the returned value to the WindowOrg property to scroll the canvas back.
See Also