xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

ReadExit()

Enables or disables up/down arrow keys as exit keys for READ

Syntax

ReadExit( [<lNewMode>] ) --> lOldMode

Arguments

<lNewMode>
A logical value can be passed that defines the new value for the exit keys flag of the READ command.

Return

The function returns the previous flag as a logical value.

Description

ReadExit() retrieves or changes a logical flag of the Get system which indicates if the up/down arrow keys can be used to terminate the READ command. When .T. (true) is passed, the READ command is terminated when the first (last) Get object has input focus and the user presses the up (down) arrow key. Setting the flag to .F. (false) requires the user to press the Enter key on the last Get to terminate READ.

Info

See also:@...GET, READ, ReadInsert()
Category: Get system
Source:rtl\readexit.c
LIB:xhb.lib
DLL:xhbdll.dll


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