xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

GetPostValidate()

Validates data after editing.

Syntax

GetPostValidate( <oGet> ) --> lDataIsValid

Arguments

<oGet>
This must be the Get object that has input focus. It is determined with GetActive().

Return

The function returns .T. (true) if the edited value is valid before the currently active Get looses input focus, otherwise .F. (false) is returned.

Description

GetPostValidate() is a utility function of the Get system used for validating edited data. It is automatically called within the Get system while READ is active. The rules for data validation are defined with the VALID or RANGE option of the @...GET command, or via a code block assigned to oGet:postBlock. When data validation fails, the input focus remains with the current Get entry field.

Info

See also:@...GET, Get(), GetPreValidate(), 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