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>sbchrdec() scroll bar function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SBCHRDEC()                                             Scroll Bar Function
 Purpose..: Change the scroll bar decrement control character
-------------------------------------------------------------------------------
 Syntax...: sbChrDec( <aSBar>[, <cDec>] ) --> cCurBarDec

 Arguments: <aSBar>     = scroll bar structure returned via
                          a call to sbNew().

            [<cDec>]    = decrement control character to use. The default
                          is chr( 24 ) or "." for a vertical scroll bar
                          and is chr( 27) or"." for a horizontal
                          scroll bar.

 Returns..: <C> cCurBarDec is the previous decrement control character,
            if <cDec> is not passed. Otherwise it returns the current one.

 Source...: SCRLBAR.PRG
-------------------------------------------------------------------------------
 Example..: . The example creates a new horizontal
              scroll bar structure, changes the thumb character,
              the bar fill character and the decrement control character.

                aHorizSB := sbNew( SB_HSCROLL )
                sbChrThumb( aHorizSB, "." )
                sbChrBar  ( aHorizSB, "#" )
                sbChrDec  ( aHorizSB, "." )

See Also: sbNew()

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