•  Back 
  •  XCONTROL Utility Functions 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  %About 
  •  Show info about hypertext 
Topic       : The ATARI Compendium
Author      : Scott Sanders / JAY Software
Version     : 1.25 (20/6/2003)
Subject     : Documentation
Nodes       : 1117
Index Size  : 32614
HCP-Version : 6
Compiled on : Atari
@charset    : UTF-8
@lang       : en
@default    : 
@help       : %About
@options    : +g -i -t4 +y +z
@width      : 100Sl_y()
XCONTROL Utility Functions
Sl_x()                                                             XCONTROL

Syntax

VOID (*xcpb->Sl_x)( tree, base, slider, value, min, max, foo )
OBJECT *tree;
WORD base, slider, value, min, max;
VOID (*foo)();

Function      Sl_x() updates the position of a horizontal slider within
              its base.

Parameters    tree points to an OBJECT tree containing the slider
              elements. base is the object index of the slider 'track'.
              slider is the object index of the slider 'elevator'. value is
              the value the slider should represent. min and max are the
              minimum and maximum values the slider can represent
              respectively. If foo is not NULL, it points to
              a user-function which is called to redraw the slider.

Binding       (*xcpb->Sl_x)( tree, base, slider, value, min, max, foo );

See Also      Sl_y()

Group         XCONTROL Utility Functions