Author: reinhard
Date: 2007-04-03 01:40:12 -0500 (Tue, 03 Apr 2007)
New Revision: 9460

Modified:
   trunk/gnue-forms/src/GFForm.py
Log:
Process ON-ACTIVATION trigger *after* setting the focus to the first element,
so the trigger can move the focus.


Modified: trunk/gnue-forms/src/GFForm.py
===================================================================
--- trunk/gnue-forms/src/GFForm.py      2007-03-31 22:51:51 UTC (rev 9459)
+++ trunk/gnue-forms/src/GFForm.py      2007-04-03 06:40:12 UTC (rev 9460)
@@ -409,12 +409,12 @@
 
     def execute_open(self, modal):
 
+        # Set initial focus
+        self.__find_and_change_focus([self._currentPage], False)
+
         assert gDebug(4, "Processing activation trigger")
         self.processTrigger('On-Activation')
 
-        # Set initial focus
-        self.__find_and_change_focus([self._currentPage], False)
-
         self.__visible = True
 
         assert gDebug(4, "Activating form")    



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to