egrid-2 gadget - REMOVED (see version 3 - separate thread.)

Developed or developing a new product in PureBasic? Tell the world about it.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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. :)
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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! :D (and then a few more due to my sometimes quite brainless approach to programming!)

Hopefully, the new upload will be void of major bugs!
I may look like a mule, but I'm not a complete ass.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

The download link seems to be broken now. Can't download at the link in first topic.
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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.
I may look like a mule, but I'm not a complete ass.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

@srod: no problem at all - and you don't need to change your name... :wink:
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Dare
Addict
Addict
Posts: 1965
Joined: Mon May 29, 2006 1:01 am
Location: Outback

Post by Dare »

:D

lol, you're not only a clued up programmer, srod, you're also an entertaining poster. egrids rocks, in any version.
Dare2 cut down to size
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Dare wrote::D

lol, you're not only a clued up programmer, srod, you're also an entertaining poster. egrids rocks, in any version.
:lol:
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!

:)
I may look like a mule, but I'm not a complete ass.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post 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.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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.
Last edited by srod on Sun Sep 03, 2006 8:10 pm, edited 2 times in total.
I may look like a mule, but I'm not a complete ass.
Derek
Addict
Addict
Posts: 2354
Joined: Wed Apr 07, 2004 12:51 am
Location: England

Post by Derek »

No problem. :D
Post Reply