Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

MoveScreen

Attempt to move the screen by the increments provided.

Declaration

Source position: intuition.pas line 3214

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