home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4611
/
fw16d.ins
/
SAMPLES
/
TESTDAT2.PRG
< prev
next >
Wrap
Text File
|
1994-06-12
|
860b
|
32 lines
#include "FiveWin.ch"
//----------------------------------------------------------------------------//
function Main()
local oWnd
local dDate := Date()
local cName := "FiveWin xBase revolution!"
// SET CONFIRM ON --> this will require the user to press Enter
// to jump to next GET when finishing typing a date
DEFINE WINDOW oWnd TITLE "Testing date GETs" COLOR "W+/B"
@ 2, 7 GET dDate SIZE 80, 25 COLOR "W+/BG" ;
MESSAGE "Try to type a bad date"
@ 2, 1 SAY "Date:"
@ 5, 1 SAY "Name: "
@ 5, 7 GET cName SIZE 250, 25 COLOR "W+/BG" ;
MESSAGE "Write the name of your customer"
SET MESSAGE OF oWnd TO "Testing GETs with dates" CENTERED
ACTIVATE WINDOW oWnd
return nil
//----------------------------------------------------------------------------//