Scroll position

In this section:

The address of an EDIT_INFO structure associated with an edit box can also be used to get the cursor position of the top left corner of the window and to scroll vertically to make a given line appear as the first line.

SUBROUTINE EDIT_WINDOW_TOP_LEFT@(E,HPOS,VPOS)
SUBROUTINE SET_EDIT_FIRST_LINE@(E,VPOS)
INTEGER E(24) ! EDIT_INFO block
INTEGER HPOS,VPOS

In the first of these two routines, a return value of (-1) indicates an error condition.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited