[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION CALENDKSET()
Short:
------
CALENDKSET() Allows use of GETDATE() calendar in GETS
Returns:
--------
Nil
Syntax:
-------
CALENDKSET(nKey,cProc,cVar,lAssign)
Description:
------------
Sets up a call to GETDATE() when key <nKey> is
pressed while in proc or function <cProc> at variable <cVar>.
If <lAssign> is True, the value returned from
GETDATE() is assigned to the current get. Use CALENDKCLR() when
done.
Examples:
---------
// this will pop up a the calendar when F2 is pressed while
// on the get V2. The value will be assigned to V2.
proc test
local v1 := DATE(), v2 := DATE()+1
@10,10 get v1
@11,10 get v2
CALENDKSET(K_F2,"TEST","V2",.t.)
read
CALENDKCLR() // clear it out
Source:
-------
S_DATEK.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson