On Aug 9, 2008, at 10:49 PM, Paul McNett wrote:

> Just a thought Ed, but what about making it so that the setter for
> col.CustomEditorClass does the makeGridEditor() call, so that the  
> appdev
> need only:
>
> col.CustomEditorClass = MyDaboControlSubclass

        But then you wouldn't be able to customize your editor. There are  
several grid editor-specific methods that can be hooked into, so you  
could do:

BaseEditor = dabo.ui.makeGridEditor(MyDaboControlSubclass)
class CustEditor(BaseEditor):
        def StartingKey(self, evt):
                # Do something special
col.CustomEditorClass = CustEditor

-- Ed Leafe





_______________________________________________
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/%(messageid)s

Reply via email to