ScrollingCaption Component


INTRODUCTION

The VScroll component is used to draw a vertical bar for scrolling


api92::VScrollComponent
  • Parameters :
    A0.l : Address of an api92_VScroll structure
  • Return Values :
    No register modified

 

The api92_VScroll structure

Format of the api92_VScroll structure :

$00.w : Current value
$02.w : X position
$04.w : Y position
$06.w : Height
$08.w : Max value


$00.w : Current Value
It is the current value of the scroll bar, ie its position between 0..Max Value
$02.w ; 04.w : X Position ; Y Position
It is the (X,Y) position on the top-left corner of the ScrollingCaption component, in pixels.
$06.w : Height
It is the height (in pixels) of the vertical scroll bar
$08.w : Max value
It is the max value of the scroll bar, used to calculate the position of the cursor according to Current Value.