Hi Werner, I don't use the DevExpress controls, so I've never used those particular mediators. It could be that the DevExpress Mediators are explicitly setting Dirty to true. I tend to have a property setter that automatically does this if the object's state is not posEmpty. That way, I avoid having to set it manually all over the place. There's an example of a similar approach in the Address Book Demo.
Regards, Andy -----Original Message----- From: Werner Schoenmaekers [mailto:[email protected]] Sent: Monday, July 12, 2010 4:09 PM To: [email protected] Subject: [tiOPF-talk] Devexpress mediators do not change ObjectState The devexpress mediators for a list ( + cxGrid ) do change the object state ( of the list and the object itself ). But the other (not list) mediators do not do this. Example: with tiModelMediatorDetail do begin AddProperty('LotNumber', cxedtLotNumber); end; The object state does not change when you change the text in the cxEdit. ( After you exit the editbox ) Any suggestions of how to change this behaviour or does someone have a solution for this? ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ tiOPF-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tiopf-talk ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ tiOPF-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tiopf-talk
