U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl: how to show the last inserted row
Re: GridCtrl: how to show the last inserted row [message #35309 is a reply to message #35300] Mon, 30 January 2012 15:26 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1244
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Mon, 30 January 2012 12:02

Ok, now I see what the problem is. You're going end before application window is open. The grid was optimized to recalculate everything only when it's absolutely needed and only if the grid is visible. That however causes few problems including that one you ran into. But I think that GoEnd (and family) should work in every context - so it's fixed now. I'll commit the changes when I get back home. And you were right about some uninitialized variable - it was part of the problem.

I think grid needs rewriting (too many interferences in the code) but I'm reluctant to do it (developing current version took me few years Smile. But I guess this day is coming Smile


The problem in my app was present even when the window was already openend.
Thanks a lot.
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl: Setting column widths programmatically
Next Topic: Customising GridCtrl Search
Goto Forum:
  


Current Time: Sun Sep 27 14:27:52 GMT+2 2026

Total time taken to generate the page: 0.05431 seconds