[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 Class TScrollBar   Inherits from TControl
--------------------------------------------------------------------------------

 DATA
--------------------------------------------------------------------------------
 lVertical       If it is a vertical ScrollBar.
 lReDraw         If the scrollbar must update automatically its position
 lIsChild        If belongs to a Window with ScrollBars style
 nMin, nMax      The numeric range to be represented by the Scrollbar
 nPgStep         The increment of value when PgUp or PgDn on the ScrollBar
 bGoUp           A codeblock to eval when going up
 bGoDown         A codeblock to eval when going down
 bGoTop          A codeblock to eval when top is selected
 bGoBottom       A codeblock to eval when bottom is selected
 bPageUp         A codeblock to eval when PageUp is selected
 bPageDown       A codeblock to eval when PageDown is selected
 bPos            A codeblock to eval when the Thumb is moved to a new position

 METHODS
--------------------------------------------------------------------------------
 New             Constructor from source code
 ReDefine        Constructor for resources
 cToChar         Generates a data template to build a Dialog
 Init            Generical initialization
 GetPos          retrieves the current value represented by the Scrollbar
 GetRange        Returns an array of two elements with the Min and the Max values
 HandleEvent     Redefined events manager
 Paint           Draws the text
 GoUp            Evaluates the bGoUp block and updates thumb position
 GoDown          Evaluates the bGoDown block and updates thumb position
 GoTop           Evaluates the bGoTop block and updates thumb positio
 GoBottom        Evaluates the bGoBottom block and updates thumb positio
 PageUp          Evaluates the bPageUp block and updates thumb posit
 PageDown        Evaluates the bPageDown block and updates thumb posit
 SetPos          Changes the position of the thumb
 SetRange        Changes the represented range of the ScrollBar
 ThumbPos        Changes the position of the Thumb

See Also: ScrollBar Commands FiveWin.ch TControl
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson