On Sep 25, 2006, at 8:38 AM, Simen Haugen wrote:

Yes, but enabled is set to True in __init__, and not set when setting
Enabled. When calling update, Enabled is set to enabled (True),
overwriting my call as Enabled = False right before update().

OK, I understand now. Originally, the idea was to disable controls if the underlying DataSource was empty, and then re-enable them when there were records (i.e., after new() was called). I see from the code that we had commented out the disabling of controls, so I'm not sure if this is even needed.

I've posted a potential fix for this. Try this out and let me know if it corrects the problem. Otherwise, I'll have to dig into this further.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to