[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TScrollCode

TScrollCode - the scroll action type.

Declaration

Source position: stdctrls.pp line 49

type TScrollCode = (

  scLineUp,

  

Scroll one line up.

  scLineDown,

  

Scroll one line down.

  scPageUp,

  

Scroll one page up.

  scPageDown,

  

Scroll one page down.

  scPosition,

  

Scroll to the specified position.

  scTrack,

  

Scroll tracking to the specified position.

  scTop,

  

Scroll to the top.

  scBottom,

  

Scroll to the bottom.

  scEndScroll

  

Scroll ends.

);

Description

!!! Beware. The position of these enums must correspond to the SB_xxx values in LCLType (Delphi compatibility, not our decision)

scLineUp,   // = SB_LINEUP
    scLineDown, // = SB_LINEDOWN
    scPageUp,   // = SB_PAGEUP
    scPageDown, // = SB_PAGEDOWN
    scPosition, // = SB_THUMBPOSITION
    scTrack,    // = SB_THUMBTRACK
    scTop,      // = SB_TOP
    scBottom,   // = SB_BOTTOM
    scEndScroll // = SB_ENDSCROLL
 
The latest version of this document can be found at lazarus-ccr.sourceforge.net.