Paul McNett wrote:
> This is an area that isn't well documented. Here are the definitions 
> from dGrid.py:
> 
> mac:~/dabo/dabo/ui/uiwx pmcnett$ grep -i 'self\..*editorclass \=' dGrid.py
> 
> self.stringEditorClass = wx.grid.GridCellTextEditor
> self.wrapStringEditorClass = wx.grid.GridCellAutoWrapStringEditor
> self.boolEditorClass = wx.grid.GridCellBoolEditor
> self.intEditorClass = wx.grid.GridCellNumberEditor
> self.longEditorClass = wx.grid.GridCellNumberEditor
> self.decimalEditorClass = wx.grid.GridCellNumberEditor
> self.floatEditorClass = wx.grid.GridCellFloatEditor
> self.listEditorClass = wx.grid.GridCellChoiceEditor
> #self.listEditorClass = GridListEditor
> 
> Mostly, you don't need to know about the normal ones, as Dabo will 
> choose the correct editor based on the datatype of the column.
> 
> Paul
> 
> 
OK, I was able to get
col.CustomEditorClass = col.listEditorClass
to work.

What is the correct format to get the others to work the wx.grid ones?

Thank you

Paul McNary
[EMAIL PROTECTED]


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to