Graeme Geldenhuys a écrit :
On 27/09/06, Jean-Marc <[EMAIL PROTECTED]> wrote:
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.


Can you create a Free Pascal app (console app) and use the Date Time?

Graeme.

Well, I reinstalled this version 0.9.18, and tested with a very simple console app, and it is working. But now, I noticed that I have a StringGrid in my app with a SelectCell from which I am calling another form, created on the fly, with a parameter containing the date. It looks that this event is already called during the form creation. To make sure of that, I even added a ShowMessage at the beginning of the onSelectCell event, and it comes up before the error, i.e at creation of the main form. I don't think I can report as a bug, because this program worked well in 0.9.16, and 0.9.18 is not official yet.

Jean-Marc

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

Reply via email to