The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



ScrollIncrement


Unit:SDL_rasterlab
Class:TRasterLab
Declaration:property ScrollIncrement: integer;

The property ScollIncrement specifies the number of pixels the dot matrix is shifted between successive refresh actions.

Hint 1: The apparent smoothness of scrolling depends on two factors: on the refresh rate controlled by the property ScrollInterval and on the shift lengths determined by the property ScrollIncrement.

Hint 2: For non-proportional fonts a special effect may be achieved by setting the scroll increment to the character width while using long scroll intervals. This creates the illusion of characters jumping from one dot matrix element to the next.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): rasterlabel



Last Update: 2023-Dec-13