[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
WSETMOVE()
Turns the interactive movement mode on or off
------------------------------------------------------------------------------
Syntax
WSETMOVE([<lNewMoveMode>]) --> lOldMoveMode
Argument
<lNewMoveMode> Designates whether a window can be moved
interactively (.T.) or not (.F.) with the SCROLL LOCK key or the
KSETSCROLL() function. The default value (.T.) allows the window to be
moved.
Returns
When called without parameters the function returns the current setting
for WSETMOVE(). If a parameter is passed, it returns the previous
setting.
Description
This function allows you to prevent (or permit) a user to interactively
move a window with the cursor keys. If no parameter is specified, the
function returns the current status of the switch without changing the
current status.
Note
. The WSETMOVE() setting does not affect the WMOVE() function;
it only affects the interactive setting. The WMODE() setting
determines if a window can be moved under a border of an area set by
WBOARD().
Example
This example specifies that the current window cannot be moved
interactively:
WSETMOVE(.F.)
WOPEN(5, 5, 15, 15)
See Also:
WMOVE()
WBOARD()
WMODE()
KSETSCROLL()
Introduction
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson