Try posting the of_setDropDownCalendar(...) call from the constructor...
----- Original Message -----
From: Brigitta Keck <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 06, 2000 12:24 AM
Subject: PFCSIG calendar service
> Dear All,
> I have the following situation:
> While testing the calendar module and making some changes to u_calendar I
was using a test window and enabled the calendar service by using
this.of_SetDropDownCalendar(True) in the constructor event of the
datawindow control, inherited from u_dw by the way.
>
> Everything was fine.
>
> Since in our current project almost 99% of all datawindows have at least
one datetime field and our client wants to use the calendar for all
date/datetime columns I tried to use the calendar in our framework (using
PFC 6.5)
>
> The moment I moved the line of code this.of_SetDropDownCalendar(True)
from the dw control to the constructor event of u_dw I had lots of trouble.
Somehow the "create calendar module" is called over and over again until
the system crashes.
>
> Has anybody experienced something similar?
>
> At the moment I have given up and defined that we have to enable the
calendar module from each dw control separately, but I would at least
understand why the other way did not work.
>
> Regards,
> Brigitta Keck
> DMR Consulting Group
> Sydney, Australia
>
> > [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS
> > A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help
pfcsig
> > SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]
>
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]