xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

Scrollfixed()

Scrolls a screen region horizontally and/or vertically.

Syntax

ScrollFixed( [<nTop>]   , ;
             [<nLeft>]  , ;
             [<nBottom>], ;
             [<nRight>] , ;
             [<nRows>]  , ;
             [<nColumns>] ) --> NIL

Arguments

<nTop>
A numeric value indicating the screen coordinate for the top row of the rectangular screen region to scroll. The default value is 0.
<nLeft>
A numeric values indicating the screen coordinate for the left column of the rectangular screen region to scroll. The default value is 0.
<nBottom>
A numeric value indicating the screen coordinate for the bottom row of the rectangular screen region to scroll. The default value is 0.
<nRight>
A numeric values indicating the screen coordinate for the right column of the rectangular screen region to scroll. The default value is 0.
<nRows>
This is a numeric value indicating the number of rows to scroll the screen region in vertical direction. A positive value scrolls left, while negative values scroll right. The default value is zero, which does not scroll vertically.
<nColumns>
This is a numeric value indicating the number of columns to scroll the screen region in horizontal direction. A positive value scrolls up, while negative values scroll down. The default value is zero, which does not scroll horizontally.

Return

The return value is NIL.

Description

ScrollFixed() works exactly like the Scroll() function. The only difference is that all parameters default to zero, so that the entire screen remains unchanged when the function is called without parameters.

Info

See also:@...BOX, @...CLEAR, @...TO, CLEAR SCREEN, RestScreen(), SaveScreen(), Scroll()
Category: Screen functions , xHarbour extensions
Source:rtl\scroll.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe