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>sbchrinc() scroll bar function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  SBCHRINC()                                             Scroll Bar Function
 Purpose..: Change the scroll bar increment control character
-------------------------------------------------------------------------------
 Syntax...: sbChrInc( <aSBar>[, <cInc>] ) --> cCurBarInc

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

            [<cInc>]    = increment control character to use. The default
                          is chr( 25 ) or "." for a vertical scroll bar
                          and is chr( 26) or"." for a horizontal
                          scroll bar.

 Returns..: <C> cCurBarInc is the previous increment control character,
            if <cInc> 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, the decrement control character
              and the increment control character.

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

See Also: sbNew()

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