dabo Commit
Revision 4703
Date: 2008-11-23 06:21:56 -0800 (Sun, 23 Nov 2008)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/4703

Changed:
U   trunk/dabo/ui/dControlMixinBase.py

Log:
Minor comment re-formatting.


Diff:
Modified: trunk/dabo/ui/dControlMixinBase.py
===================================================================
--- trunk/dabo/ui/dControlMixinBase.py  2008-11-22 06:19:02 UTC (rev 4702)
+++ trunk/dabo/ui/dControlMixinBase.py  2008-11-23 14:21:56 UTC (rev 4703)
@@ -16,8 +16,10 @@
 
        def __onGotFocus(self, evt):
                if self.Form:
-                       sfac = self.Form.ActiveControl  ## cache current ac
-                       self.Form._activeControl = self ## set new ac
+                         # Grab reference to current ActiveControl
+                       sfac = self.Form.ActiveControl
+                       # Set the form's ActiveControl reference
+                       self.Form._activeControl = self
                        if sfac is not None and sfac is not self:
                                # make sure prior control's value has been 
flushed
                                self.Form.activeControlValid()




_______________________________________________
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