Page 2 of 2
Posted: Sun Sep 03, 2006 12:36 pm
by srod
Bugger, I've been meaning to test Egrids on Win 98!
Right, I'm on it. It'll take me a while to put my old Win 98 machine together and carry across the required code.
Any problems are likely to be GDI related, probably memory leaks as Win98 is far more fussy about deleting brushes and the like. Although I did have someone test it out on Win 98 and it seemed to run okay after a few fixes.
I'll get back to you later.

Posted: Sun Sep 03, 2006 1:55 pm
by srod
Have given Egrid a good run through Win 98 and, yes found a memory leak which is not apparent on XP (and bloody awful to track down!) It's now fixed.
However, it appears that Thorsten's problem above could have been caused by using an earlier version (Purebasic 3.94) of Egrid which I simply haven't maintained. In fact I've now removed that version from the download site.
Sorry for any inconvenience, but code this complex is bound to have a few teething problems!

(and then a few more due to my sometimes quite brainless approach to programming!)
Hopefully, the new upload will be void of major bugs!
Posted: Sun Sep 03, 2006 2:23 pm
by Andre
The download link seems to be broken now. Can't download at the link in first topic.
Posted: Sun Sep 03, 2006 2:41 pm
by srod
Andre wrote:The download link seems to be broken now. Can't download at the link in first topic.
Rollox! I can't get anything right today!

That explains why mskuma wasn't seeing the fixes; it was the wrong link - and even when it was working, it was then the wrong version of Egrids!!!
ANYONE who has downloaded EGRIDS in the last couple of days, has downloaded the incorrect version, i.e. one without any fixes or updates or ammendments! Teach me to have too many websites floating around, I lose track of which one I'm currently using!
(I think I'll just change my name to Stan Laurel, it'll save a lot of hassle!)
The link is fixed!
Sorry Andre.
Posted: Sun Sep 03, 2006 3:05 pm
by Andre
@srod: no problem at all - and you don't need to change your name...

Posted: Sun Sep 03, 2006 3:13 pm
by Dare
lol, you're not only a clued up programmer, srod, you're also an entertaining poster. egrids rocks, in any version.
Posted: Sun Sep 03, 2006 3:47 pm
by srod
Dare wrote:
lol, you're not only a clued up programmer, srod, you're also an entertaining poster. egrids rocks, in any version.
Except those versions which don't work and fry your hard drive and rot all the food in your fridge!
You've got to keep a sense of humour when you produce as many bugs as I do.
Even my bugs have bugs and don't work the way they're supposed to; - or is that 'work the way they're not supposed to'?

Doh!

Posted: Sun Sep 03, 2006 5:53 pm
by Derek
@srod
I downloaded a copy of this earlier and everything worked fine, came back a few hours later and you had posted another version which I have not downloaded but the latest one is not working right.
In demo3, whenever I click on a cell it turns yellow but none of the blue lines show up unless I nudge the scrollbar a bit then the screen is redrawn and any yellow cells are cleared and the blue ones are shown.
Only when I nudge the scrollbar does the colours get updated.
I'm using xp home with sp2.
Posted: Sun Sep 03, 2006 6:28 pm
by srod
Ah yes, didn't think of that.
It isn't a bug as such. Because of the ammendments I've made to egrids, in particular speeding up the painting etc. such colouring as seen in this example now goes down as a misuse of Egrids on my part. I should alter that example.
Basically we must leave the selection box to adopt the background colour of the underlying cell, rather than force another colour upon it which is what this example is trying to do.
Thanks for the report.
**EDIT**
Have altered the examples accordingly to avoid misusing the Egrids. The point is now that we must leave the selection box to adopt the colours of the underlying cell. Allowing otherwise will involve a backwards step and sacrificing the improvements made in reducing flicker and speeding up the painting etc.
Posted: Sun Sep 03, 2006 6:53 pm
by Derek
No problem.
