On 10/21/11 5:27 AM, Jacek Kałucki wrote:
> Użytkownik John Fabiani napisał:
>> >  Should you decide to use the dMask please fix the "None" value reporting 
>> > an
>> >  error.
> Personally, I have dedicated class derived from NumCtrl to support numeric 
> values.
> Maybe I will add it to the trunk some day.
> But default grid editors were light, sufficient and working for me.
> I can't see any significant advantages in current ones.

I only very rarely make editable grids. I was only trying to help out someone 
trying 
to get sane keyboard navigation working, but also I thought it would be good to 
be 
able to use controls like dTextBox, dSpinner, dDateTextBox, and dCheckBox as 
the 
controls in a grid editor to allow for a common interface.

However, I see that trying to use dSpinner causes a segfault, probably because 
it is 
a composite control, and we can already use our custom dabo classes as editors 
by 
setting the editors manually, so I'm not against reverting that specific change 
although the keyboard navigation I enabled will be lost, unless we want to 
subclass 
the wx default editors ourselves, which I'm not personally interested in doing.

To summarize: ideally, the grid editors/renderers would be based on dabo 
controls 
like dTextBox, dSpinner, dCheckBox, dListbox. But if that can't work 
practically 
without a lot of effort, then let's move back to the default wx editors at 
least for 
the time being.

Paul

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

Reply via email to