Paul McNett wrote: > Yes. The choices in the list come from the list in dabo.dColors.colors, > and the fact that we want the custom editor is my setting it to the > column object's listEditorClass attribute. > >> ----------------------------------------------------------------------- >> from dGrid Test (dGrid.py) >> >> col = dabo.ui.dColumn(self, Name="Color", Order=40, DataField="color", >> DataType="string", Width=40, Caption="Favorite Color", >> Sortable=True, Searchable=True, Editable=True, Expand=False) >> >> self.addColumn(col) >> >> col.ListEditorChoices = dabo.dColors.colors >> col.CustomEditorClass = col.listEditorClass >> ----------------------------------------------------------------------- > > You got it! > > Paul > >
Can the CustomEditorClass property be set in Class Designer and if so what is a correct way to do it? Where do I find what CustomEditorClasses are available? 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]
