Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FreshWin (c) Fresh Technologies - <b>sbnew() scroll bar function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SBNEW()                                                Scroll Bar Function
 Purpose..: Create a new instance of a scroll bar
-------------------------------------------------------------------------------
 Syntax...: sbNew( [<nType>] ) --> aScrollBar

 Arguments: [<nType>]    = scroll bar orientation. The default
                           is to a vertical scroll bar.

            Scroll Bar Manifest Constants as found in FW_SCROLL.CH
            ------------------------------------------------------
            Value  FW_SCROLL.CH   Description
            ------------------------------------------------------
            0      SB_VSCROLL     vertical scroll bar (default)
            1      SB_HSCROLL     horizontal scroll bar
            ------------------------------------------------------

 Returns..: <A> aScrollBar is an array holding the scroll bar structure.

 Source...: SCRLBAR.PRG
-------------------------------------------------------------------------------
 Example..: . The example creates a new horizontal
              scroll bar structure.

                aHorizSB := sbNew( SB_HSCROLL )

See Also: sbChrThumb() sbChrBar() sbChrDec() sbChrInc() sbClrSpec() sbSetRange()

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