main logo
Subject: [dabo-dev] dabo Commit 984
Author: Ed Leafe
Posted: 2005/03/31 20:20:29
 
View Entire Thread
New Search


dabo Commit
Revision 984
Date: 2005-03-31 17:20:28 -0800 (Thu, 31 Mar 2005)
Author: ed

Changed:
U trunk/ui/uiwx/dForm.py
U trunk/ui/uiwx/dSizer.py

Log:
Removed the refreshControls() method from dForm. I moved it to dFormMixin a few commits ago, and never checked in this part of the change.

Added an afterInit() hook to dSizer.


Diff:
Modified: trunk/ui/uiwx/dForm.py
===================================================================
--- trunk/ui/uiwx/dForm.py 2005-04-01 01:08:43 UTC (rev 983)
+++ trunk/ui/uiwx/dForm.py 2005-04-01 01:20:28 UTC (rev 984)
@@ -178,17 +178,6 @@
pass


- def refreshControls(self):
- """ Refresh the value of all contained dControls.
-
- Raises EVT_VALUEREFRESH which will be caught by all dControls, who will
- in turn refresh themselves with the current value of the field in the
- bizobj.
- """
- self.raiseEvent(dEvents.ValueRefresh)
- self.setStatusText(self.getCurrentRecordText())
-
-
def _moveRecordPointer(self, func, dataSource=None):
""" Move the record pointer using the specified function.
"""

Modified: trunk/ui/uiwx/dSizer.py
===================================================================
--- trunk/ui/uiwx/dSizer.py 2005-04-01 01:08:43 UTC (rev 983)
+++ trunk/ui/uiwx/dSizer.py 2005-04-01 01:20:28 UTC (rev 984)
@@ -18,6 +18,9 @@
try:
exec("self.%s = %s" % (k,v))
except: pass
+ self.afterInit()
+
+ def afterInit(self): pass

if __name__ == "__main__":
s = dSizer()




 
©2005 Ed Leafe
<-- Prior Message New Search Next Message -->