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
_______________________________________________
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