Datepicker always retreives the "today's date" whatever the setting. is this intentional or is it a bug ?
This is a small sample to show the problem
The date should show 14/06/2005 and not today's date
Thanks
Richard
- Code: Select all Expand view RUN
#include "C:\FWPPC\INCLUDE\FWCE.ch"
FUNCTION MAIN
local ownd, ;
DDATE
SET DELETE ON
SET DATE TO FRENCH
SET CENTURY ON
SET EPOCH TO 2000
DDATE := CTOD("14/06/2005")
DEFINE WINDOW OWND
@ 0, 10 SAY "Date " OF OWND SIZE 30,15 PIXEL BORDER CENTER
@ 0, 50 DTPICKER DDATE OF OWND SIZE 80,15 PIXEL
activate window OWND
RETURN NIL