dabo Commit
Revision 4710
Date: 2008-11-23 19:55:16 -0800 (Sun, 23 Nov 2008)
Author: Johnf
Trac: http://svn.dabodev.com/trac/dabo/changeset/4710
Changed:
U trunk/dabo/ui/uiwx/dTextBoxMixin.py
Log:
added support to allow the retrieval of un-masked values or masked values for
the dMaskTextBox.
Diff:
Modified: trunk/dabo/ui/uiwx/dTextBoxMixin.py
===================================================================
--- trunk/dabo/ui/uiwx/dTextBoxMixin.py 2008-11-23 18:30:01 UTC (rev 4709)
+++ trunk/dabo/ui/uiwx/dTextBoxMixin.py 2008-11-24 03:55:16 UTC (rev 4710)
@@ -615,7 +615,10 @@
# Get the string value as reported by wx, which is the
up-to-date
# string value of the control:
if isinstance(self, masked.TextCtrl) and hasattr(self,
"_template"):
- strVal = self.GetPlainValue()
+ if self.UsePlainValue:
+ strVal = self.GetPlainValue()
+ else:
+ strVal = self.GetValue()
else:
strVal = self.GetValue()
_______________________________________________
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]