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.2 lbox_bscroll_to TOS Name: »List box scroll to, Slider B« - Set position of slider B of the list box. Opcode: 175 (sub-opcode 7) Syntax: void lbox_bscroll_to ( LIST_BOX *box, int16_t first, GRECT *box_rect, GRECT *slider_rect ); Description: The call lbox_bscroll_to positions slider B of 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: The parameter box_rect is the redraw rectangle for the list box and slider_rect is the redraw rectangle for the slider. The function works in principle like a call of lbox_set_bslider 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_free_items lbox_get_slct_item