commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnue] r9460 - trunk/gnue-forms/src


From: reinhard
Subject: [gnue] r9460 - trunk/gnue-forms/src
Date: Tue, 3 Apr 2007 01:40:13 -0500 (CDT)

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")    





reply via email to

[Prev in Thread] Current Thread [Next in Thread]