[PythonReports-checkins] PythonReports/PythonReports design.py, 1.7, 1.8
Brought to you by:
a1s
From: alexander s. <a1...@us...> - 2006-11-03 17:32:26
|
Update of /cvsroot/pythonreports/PythonReports/PythonReports In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31614 Modified Files: design.py Log Message: fix IntegerSelection: mega widget has no .select_range() Index: design.py =================================================================== RCS file: /cvsroot/pythonreports/PythonReports/PythonReports/design.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** design.py 3 Nov 2006 17:18:25 -0000 1.7 --- design.py 3 Nov 2006 17:32:21 -0000 1.8 *************** *** 2,5 **** --- 2,6 ---- """History (most recent first): + 03-nov-2006 [als] fix IntegerSelection: mega widget has no .select_range() 03-nov-2006 [als] disable drawing canvas; force fixed font for the shell *************** *** 371,374 **** --- 372,380 ---- LPAD = 5 + def OnSetFocus(self, event): + _entry = self.widget.entry + _entry.focus_set() + _entry.select_range(0, "end") + class BooleanSelection(PropertyEntry): |