On 3/3/13 3:27 AM, Sibylle Koczian wrote:
> 
> finally I found the time to try out a dGrid using the Editor from the 
> dDateTextBox
> for a date column.
> 
> First I ran your example:
> https://gist.github.com/4542964
> 
> In that application the date editing shortcuts work (but I didn't try all of 
> them),
> but the calendar popup doesn't: it appears, it's possible to select a date, 
> but
> neither Enter nor a double click bring that date into the grid cell.

Hmm, I'm almost positive that was working fine. I'll try it later.

> Then I changed a date column in my own application to use the same 
> CustomEditorClass.
> Which seemed to work at first, but when I closed the application I got the 
> error
> message "Speicherzugriffsfehler (Speicherabzug geschrieben)" - that's a 
> segmentation
> fault as far as I know, right? No other error message, no traceback.

I was seeing a lot of segfaults with editable grid columns until the following 
commit
which is in working but not released yet:

https://github.com/dabodev/dabo/commit/ac758950fb580f9c4a730215915fa549ade97fb9

I never really used editable grids before so I'm not sure if the segfaults I was
seeing were always there or not, but this commit seemed to remove all of them 
in my
testing and I didn't see any changed behavior either, but I could sure use 
feedback
on it to make sure.

> I've added a save button to your example and changed it a little (added a 
> primary
> key, created a separate bizobj class). Same fault at closing or when I edit a 
> date
> cell and click into another column afterwards. The save itself seems to work 
> - but
> the application still uses ":memory:" instead of a file.
> 
> Should I put the changed example to dabo.codepad.org?

Sure, then we are on the same page as far as the test code we are looking at 
goes.

> P.S. ClassDesigner works again after removing the reference to 
> GridHeaderPaint -
> thank you!

You are welcome.

Paul

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.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