I have now used this class as control for the columns, it has however a very 
strange behaviour and I have no idea what the cause is...
For example, the Calltip does not always show up and when pressing tab in order 
to complete, one passes to the next cel instead of completion.
Is it possible to follow how the events are processed?

class dAutoEditor(dEditor):
   
    def afterInit(self):
        self._baseClass = dAutoEditor
        self.Language="python"
        self.AutoComplete = True

    def initEvents(self):
        super(dAutoEditor, self).initEvents()


> From: [EMAIL PROTECTED]
> To: [email protected]
> Date: Sat, 9 Aug 2008 21:38:44 -0500
> Subject: Re: [dabo-users] (no subject)
> 
> On Aug 8, 2008, at 7:07 AM, Ed Leafe wrote:
> 
> >     I've been working on an implementation of an easy way to create
> > custom grid editors (I see you found the same Wiki page!). I'd like to
> > have it done soon, but I've been swamped at work, so I probably won't
> > get much time to work on it until tomorrow. Just thought I'd let you
> > know before you burn much more time on this.
> 
>       OK, I've just committed the changes to do this. Now if you have any  
> control derived from a Dabo base control, you should be able to do  
> this in two lines:
> 
> customEditor = dabo.ui.makeGridEditor(myControlClass)
> col.CustomEditorClass = customEditor
> 
>       You can also pass 'minWidth' and 'minHeight' parameters to  
> makeGridEditor(); these will ensure that your custom control will have  
> at least these dimensions instead of being limited by the dimensions  
> of the cell being edited.
> 
>       Let me know how this works for you.
> 
> -- Ed Leafe
> 
> 
> 
> 
> 
[excessive quoting removed by server]

_______________________________________________
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