Gary Thompson wrote:
> Hi,
> I've noted that the dDateTextBox sets it's default value to now().  This
> keeps overriding my values in the database (using SQLite).  Code is in
> afterinit() as shown below in second line of afterinit below:
> 
> def afterInit(self):
> self._baseClass = dDateTextBox
> self.Value = datetime.date.today()
> self._calendarPanel = None
> if self.showCalButton:
> # Create a button that will d
> 
> I'm using svn, revision 5330 I think.
> 
> Is there a reason for this?  I've removed this line in my code and haven't
> seen any problems so far.

We should never have written code in the afterInit() method of that class, 
either. 
That method is reserved for you, the appdev.

Thanks, I'm going to take a look at this and make the changes I think need to 
be made.

Paul



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to