Hi,

I have a data control bounded with database field that is validated 
dynamically.
I mean, validation expression is based on current date.
To my great surprise I found that data I entered some time ago gets invalid,
when I browse them.
After digging in code I found that dDataControlMixinBase.update() method,
after taking control value from database, fires flushValue() method, which:
- validates value
- writes control value to database.
IHMO this is completely redundant and should be done only after
interactive value change.
This behaviour with conjunction with broken numeric type handling
in dMaskedTextBox class (setting dMaskedTextBox.Value to value
of numeric type doesn't return numeric type value but string instead)
causes that data cursor memento becomes dirty when there were
no real changes in data value.
Is this everything by design?
And yet another question, why only dTextBox class implements
_inFlush semaphore but not entire data based control set?

-- 
Regards
Jacek Kałucki


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://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