Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>getpostvalidate()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GETPOSTVALIDATE()
 Postvalidate the current Get object
------------------------------------------------------------------------------
 Syntax

     GETPOSTVALIDATE(<oGet>) --> lSuccess

 Arguments

     <oGet> is a reference to the current Get object.

 Returns

     GETPOSTVALIDATE() returns a logical value indicating whether the Get
     object has been postvalidated successfully.

 Description

     GETPOSTVALIDATE() is a Get system function that validates a Get object
     after editing, including evaluating Get:postBlock (the VALID clause) if
     present.

     The return value indicates whether the GET has been postvalidated
     successfully.  If a CLEAR GETS is issued during postvalidation,
     Get:exitState is set to GE_ESCAPE and GETPOSTVALIDATE() returns true
     (.T.).

 Notes

     .  In the default system, a Get:exitState of GE_ESCAPE cancels
        the current GET and terminates READMODAL().

 Examples

     .  This example calls GETPOSTVALIDATE to determine whether or not
        the VALID clause of oGet is satisfied.  If not, then the user is not
        allowed to exit from the Get object.

        IF (! GETPOSVALIDATE (oGet))
           oGet : exitState := GE_NOEXIT
        ENDIF

 Files   Library is CLIPPER.LIB, source file is Getsys.prg.


See Also: GETAPPLYKEY() GETDOSETKEY() GETPREVALID()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson