Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Clipper Tools One Guide - <b>wmove()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
WMOVE()

Syntax:     WMOVE() ([<expN1>,<expN2>])

Arguments:  <expN1> Denotes the line of the top left-hand corner of the
            window selected.
            <expN2> Denotes the column of the new top left-hand corner
            of the window selected.

Returns:    A numeric value.
            The number of the window currently selected.

Usage:      WMOVE() can be used to shift the window selected to a
            specific position within the area defined by WBOARD() on
            the screen.

Note:       WSETMOVE() will not effect the function WMOVE().
            WMODE(), on the other hand, does effect WMOVE().
            ([<expN1>,<expN2>]) may be negative values.  Invalid
            arguments are automatically corrected so that at least one
            line or column of the window will remain visible in the
            WBOARD() area (see also WMODE()).

Library:    CT1.LIB


--------------------------------- Example ------------------------------

Examples:   WMOVE(WROW() -1, WCOL() - 1)

            *   The function will move the window selected by one line
            *   upwards and one column to the left if the edge concerned
            *   has not yet been reached.



See Also: WBOARD() WMODE() WOPEN() WSELECT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson