xHarbour Reference Documentation > Command Reference xHarbour Developers Network  

SET WRAP

Toggles wrapping of the highligh bar in text-mode menus.

Syntax

SET WRAP on | OFF | ( <lOnOff> )

Arguments

on | OFF | ( <lOnOff> )
The option toggles whether or not the highlight bar of a MENU TO menu wraps when the user reaches the first or last menu item. The default is OFF, or .F. (false), i.e. wrapping of the highlight bar is disabled.

Description

SET WRAP is a compatibility command defining the behavior of text-mode menus activated with MENU TO. When SET WRAP is set to ON, the highlight bar wraps to the last menu item if the user reaches the first menu item, and vice versa.

Info

See also:@...PROMPT, MENU TO, SET MESSAGE, Set()
Category: Output commands , SET commands
Source:rtl\set.c
LIB:xhb.lib
DLL:xhbdll.dll


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