[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 WSTEP()
 Determines the step width of interactive window movement
------------------------------------------------------------------------------
 Syntax

     WSTEP(<nVertical>,<nHorizontal>) --> nResult

 Arguments

     <nVertical>  Designates the number of rows the window steps when
     moved interactively.

     <nHorizontal>  Designates the number of columns the window steps
     when moved interactively.

 Returns

     If an error occurs, WSTEP() returns -1.   If no errors occur, it returns
     0.

 Description

     WSTEP() allows you to set the number of steps a window moves with each
     key stroke.

     Exact Positioning

     Normally, in the case of a step size greater than (1,1), you would not
     be able to select every screen position.  However, unique interactive
     mode behavior lets you select every screen position anyway!  Pressing
     two opposing arrow keys, one immediately after the other, causes a step
     size of 1 to become effective for that axis.  This step size allows
     precise positioning of the window!

 Note

     .  This function only operates when all windows are closed.  The
        preset values are 2 rows for the vertical steps and 5 columns for the
        horizontal steps.  The maximum values are 6 rows for the vertical
        steps and 20 rows for the horizontal steps.  If a step value exceeds
        the maximum value, then the step value is set to the maximum correct
        value.

 Example

     When you use the cursor keys, the selected window is moved 1 row
     vertically and 3 rows horizontally:

     WSTEP(1, 3)


See Also: WACLOSE() WSETMOVE()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson