Topic : TOS - The Operating System Author : Version : tos.hyp (December 19, 2008) Subject : Programmieren/Atari Nodes : 3010 Index Size : 93790 HCP-Version : 5 Compiled on : Atari @charset : atarist @lang : @default : Title @help : @options : +g -i -s +x +zz -t4 @width : 70 View Ref-File8.14.1 lbox_ascroll_to TOS Name: »List box scroll to, Slider A« - Set position of slider A of the list box. Opcode: 175 (sub-opcode 4) Syntax: void lbox_ascroll_to ( LIST_BOX *box, int16_t first, GRECT *box_rect, GRECT *slider_rect ); or void lbox_scroll_to ( ... ); Description: The call lbox_ascroll_to positions slider A in a list box. The following apply: Parameter Meaning box Pointer to the list box structure first Index of the first visible entry box_rect Pointer to redraw rectangle or 0L slider_rect Pointer to redraw rectangle or 0L Hint: This function works in principle like a call of lbox_set_slider followed by a lbox_update; scrolling takes place if possible, however, to reduce the amount of drawing required. One may therefore not use lbox_scroll_to if the item list of the list box has changed. Return value: The function does not return a result. Availability: The presence of this call should be checked for using appl_getinfo (Opcode 7). Group: List boxes See Also: Binding lbox_do lbox_set_slider