Page 1 of 1

DATEPICKER

Posted: Thu Aug 24, 2006 3:26 pm
by Richard Chidiak
Hello

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

#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
 

Posted: Thu Aug 24, 2006 4:31 pm
by Antonio Linares
Richard,

It has been already fixed. You may download a new FWPPC build that also includes the Class TWindow Method SetSize().

Posted: Thu Aug 24, 2006 6:20 pm
by Richard Chidiak
Antonio Linares wrote:Richard,

It has been already fixed. You may download a new FWPPC build that also includes the Class TWindow Method SetSize().
Antonio :D

Gracias