nixnixnix Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
Senior Member
Hi
I just upgraded from 2007.1 to 708dev1 in order to get access to the callback4 function.
However, now I get a crash at line 3399 of GridCtrl.cpp whenever I move the mouse over the column headers. I'm surprised that no-one else gets this as I've tested in two separate apps that both use the GridCtrl and they both crash the same way.
I have SetRowCount to 100 but in GridCtrl::GetSplitRow() it thinks the lastVisRow = 199 and so it attempts to look at vitems[199] when in fact there are only 101. Looks a lot like a bug to me
nixnixnix Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
Senior Member
Thanks, I downloaded it.
I also installed the Tortoise client and attempted to access upp.sf.net but with no joy. Not sure which forum this would come under so thought I'd ask here while we're on the subject. I would only want to be able to contribute through a senior member such as yourself but if its possible to get access to the latest fixes that would be great.
nixnixnix Messages: 415 Registered: February 2007 Location: Kelowna, British Columbia
Senior Member
Hi again,
sorry to bother you again but I just got round to installing the new version of the GridCtrl and now I get this
C:\upp\uppsrc\GridCtrl\GridCtrl.cpp: In member function `Upp::GridCtrl::ItemRect& Upp::GridCtrl::AddColumn(Upp::Id, const char*, int, bool)':
C:\upp\uppsrc\GridCtrl\GridCtrl.cpp:1460: error: operands to ?: have different types
as an error when I try to compile. I can see that the error makes sense but I'm just not sure what you are intending there. Any ideas how to fix it?
unodgs Messages: 1366 Registered: November 2005 Location: Poland
Ultimate Contributor
nixnixnix wrote on Sat, 18 August 2007 17:46
Thanks ItemRect::Editable(bool b) crashes whenever I try to use it. I've attached a new crashtest to illustrate.
It's fixed now. It's an effect of unifinished modifing editable methods to work at runtime requested by one of upp user some time ago.
Quote:
Really, I don't have it in for you. I love the GridCtrl and use it lots. I just appear to have a knack for breaking it
It took me a while to find what "to have it in for sb" means. New english methaphore to remeber
Answering that I'm always happy if users report bugs. Becasuse I can make their and main software better/more stable. What's more users which reports bugs and give a feedback are my favourite users
GridCtrl is quite complicated and I'm not able to find all glitches myself so thank you for using and testing it. Keep going!