Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>scrl_open()</b> c_exam09 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SCRL_OPEN()                                                         C_EXAM09
   Sets up a scroll bar.

   Syntax
      nScrollNum = SCRL_OPEN(nOrientation,nStart,nEnd,nLocation,nItems
                             [,nStartingIndex])

   Arguments
         nOrientation   Orientation of the scroll bar.
                           0 - Horizontal
                           1 - Vertical
         nStart         Starting pixel X or Y location depending on the
                        Orientation.
         nEnd           Sets the ending pixel X or Y location depending on
                        the orientation.
         nLocation      Sets the location of the scroll bar depending on
                        the orientation.
         nItems         Sets the number of items in the list.
         OPTIONAL PARAMETERS
         nStartingIndex Sets the item number to first locate the scroll bar
                        indicator. [Default is 1]

   Returns
         nScrollNum     The number of the scroll bar you have opened.
                        (maximum of 10 open at the same time)

   Description
         SCRL_OPEN() sets up a scroll bar that can be used to return a value
         based on the scroll bar location and the number of items in the list.

         If nOrientation is 0, then it is a horizontal scroll bar.

         nStart and nEnd depend on the the orientation. If the orientation is
         horizontal, then the starting and ending points will define the X
         coordinates, and nLocation is the Y coordinate position of the bar on
         the screen. If the orientation is vertical, then the starting and
         ending values will define the Y coordinates and nLocation will define
         the X coordinate.

         The scroll bar colors will be set to the current values in the
         MENU_COLOR() function.

See Also: SCRL_CLOSE() SCRL_HOT() SCRL_SET() SCRL_SLEEP() SCRL_WAKE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson