Hi,

I believe I discovered some of the issues I'm having moving old code (0.9.4) to 0.9.10.

I have a relative simple form that sets a few dates (dDateTextBox). A start date and end date. I associated an event "dEvents.ValueChanged" to the start date. In the event method I set the second date (the end date) to a value.

Using the old Dabo 0.9.4 the event (dEvents.ValueChanged) fires immediately upon opening the form. I'll guess and say somewhere the "start date" value gets changed. I do not set the value in code - the event still fired. And of course the event method fires and sets the end date.

In 0.9.10 the above does not happen. I have to set the value and then raiseEvent(dEvents.ValueChanged) for the start date to cause the correct method to fire (I set the value and raise the event in afterInitAll). Yet, after the form opens, if I change the value in the start date control the correct event method fires.

I was able to prove the above now that I have both 0.9.4 and 0.9.10 running.

So my question is: What is different in the way events fire (model?)?

BTW thinking about this issue in a general way. I would suggest I was incorrectly taking advantage of framework and should have set the values explicitly in 0.9.4.

Johnf



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

Reply via email to