Alexander Todorov a écrit :
On 9/27/06, Jean-Marc <[EMAIL PROTECTED]> wrote:
Hi,
I have an application using date, refering to today's date at starting,
which worked fine with Laz 0.9.16, both under Linux and Windows.
I just installed new 0.9.18 on Linux, and cannot get this application
running any more, due to date initialization.
The Date function is first used in form.show of main form.  But now, I
get the error message "1899-0-30 is not a valid date specification",
even at beginning of form.create (I tried to put a showmessage('ok') at
the beginning of this function and had the error message anyway, but the
same showmessage only appeared if I put it in the application source,
between application.initilize and the main form create).
How can I get an error on something which is not supposed to be used yet?
Any idea


Do you have any datetime controls on the form?
If so the problem may be somewhere in loading these  controls from the
.lfm file or in somewhere in the control's code.


No, there is no datetime control on the form,
I also cheched the other forms, created on the fly, but none are using such a component. Strange. Even the first call to the Date function is in the onshow event, but the error comes at the oncreate event.

___________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives
---------------------------------------------------------------------------------------

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to