Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 twScBarNew( sTop, sLeft, sBottom, sColor,;
             sInitPos, nDirection )
 ----------------------------------------------------------------------------
     Create a new scroll bar for a window. These are used in most TSDWIN
     browse functions.

       Arguments:

     sTop     - 'N' Screen coordinate for bar top.  Window access is
                    NOT done to allow use of these functions in other
                    areas.

     sLeft    - 'N' Screen column of bar.

     sBottom  - 'N' Screen row for bar bottom.

     sColor   - 'C' Bar color. Defaults to SETCOLOR().

     sInitPos - 'N' Initial element in the array or database record
                    POSITION.

     nDirection - 'N' Vertical or Horizontal

       Return:

                      Bar number.

       Example:

     nBar := twScBarNew( IIF( ";" $ ColHead, t + 4, t + 3 ),;
                                    r + 1, b - 1, "w/b" )

     Creates a scroll bar at top of a box + 4, if the display title is
     on two lines or + 3 if not.

See Also: twSCBarMove() twScBarShow() twScBarUpdate()

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