Re: [PythonReports-users] Future of PythonReports
Brought to you by:
a1s
From: Werner F. B. <wer...@fr...> - 2012-12-07 14:48:24
|
Hi Alex, On 07/12/2012 15:14, Werner F. Bruhin wrote: ... > "font", "style", "group" are in the "lists" category at the bottom of > the properties pane. > I see, there is another little problem with 2.9.4 here as the "..." > button to view the list doesn't show. IIRC have seen this in other > programs but don't recall the details. Will try to figure it out over > the next few days. Needed to change this to get the button in wx 2.9.4 for the "list" properties. === modified file PythonReports/editor/propertiesgrid.py --- PythonReports/editor/propertiesgrid.py 2012-12-05 09:13:33 +0000 +++ PythonReports/editor/propertiesgrid.py 2012-12-07 14:44:24 +0000 @@ -560,6 +560,10 @@ def GetClassName(self): return self.__class__.__name__ + + def GetEditor(self): + # Set editor to have button + return "TextCtrlAndButton" def GetValueAsString(self, flags): """Just return property name + _list""" Best regards Werner |