xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

GetPreValidate()

Validates data before editing.

Syntax

GetPreValidate( <oGet> ) --> lCanEdit

Arguments

<oGet>
This is a Get object that is about to receive input focus.

Return

The function returns .T. (true) if <oGet> may receive input focus, otherwise .F. (false) is returned.

Description

GetPreValidate() is a utility function of the Get system used for validating if a Get object may receive input focus. It is automatically called within the Get system while READ is active. The rules for pre validation are defined with the WHEN option of the @...GET command, or via a code block assigned to oGet:preBlock. When pre validation fails, the next Get is searched that may receive input focus, and <oGet> does not receive focus.

Info

See also:@...GET, Get(), GetPostValidate(), READ
Category: Get system
Source:rtl\getsys.prg
LIB:xhb.lib
DLL:xhbdll.dll


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