Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

MoveScreen

Attempt to move the screen by the increments provided.

Declaration

Source position: intuition.pas line 4127

procedure MoveScreen(

  screen: pScreen;

  dx: LongInt;

  dy: LongInt

);

Arguments

screen

  

A pointer to a Screen structure

dx

  

Amount to move the screen on the x-axis

dy

  

Amount to move the screen on the y-axis

Description

Moves the screen the specified increment, specified in screen pixel resolution coordinates.

Screen movement limits have been greatly relaxed, to support screen scrolling. In particular, negative values for screen LeftEdge and TopEdge may now be valid.

If the dX and dY variables you specify would move the screen in a way that violates any restrictions, the screen will be moved as far as possible. You may examine the LeftEdge and TopEdge fields of the Screen structure after this function returns to see where the screen really ended up.

See also

ScreenPosition

  

Move screens with greater control.

RethinkDisplay

  

Grand manipulation of the entire Intuition display.


Documentation generated on: 2021-07-30