EsGRID grid gadget 2.1. Don't post here!

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Same company, but because I purchased the original package some years back, it is not possible to upgrade the particular package without first deleting it etc. :roll: Still, it's worth it as for £3.99 per month I'm getting a cgi-bin, php, MySQL, unlimited traffic + a load more.

http://www.fasthosts.co.uk/hosting/
I may look like a mule, but I'm not a complete ass.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

A couple o questions:

1. Can I put an image as a background to egrid?
2. Will esgrid return what cell is clicked on?
3. Can I throw a .PNG image into a cell?

thanks! :D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Hi,

1. No. Never really considered anyone would want to do this!
2. Yes - including header cells etc.
3. Yes, using a cell of type #egrid_Bitmap and use the png image decoder to load the png etc. or using the custom type cells etc.
I may look like a mule, but I'm not a complete ass.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

See... I think of a brand new feature!!! 8)

I have seen it in a couple of Win2k apps... I didn't nkow if it was possible using API or if it was CUSTOM CODE...

Would be an intresting feature!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Well, to be honest, I don't think I'll be adding that feature any time soon. Too esoteric and boy it would slow things down!

The thing is that an EsGRID is based on a Windows ListView control which does make things run slower than would be the case for a grid based on it's own custom class. Now these days this isn't as noticeable as it was in the past because of the shear speed of processors etc. but adding an image to the background of the whole grid would be asking for trouble in this case.

Actually, writing a grid from scratch, using it's own custom class, would have been a damn sight easier than basing one upon a ListView control! Still, EsGRID is working very well now as I have just completed a fully featured PropertyBox control based on EsGRID which looks fab if I say so myself! :wink:

My next job does require that I write a grid control from scratch, one which will not be as powerful as EsGRID, but I may indeed be able to set a background image to this one. :)
I may look like a mule, but I'm not a complete ass.
milan1612
Addict
Addict
Posts: 894
Joined: Thu Apr 05, 2007 12:15 am
Location: Nuremberg, Germany
Contact:

Post by milan1612 »

srod wrote:Still, EsGRID is working very well now as I have just completed a fully featured PropertyBox
control based on EsGRID which looks fab if I say so myself! :wink:
Now you made me interested :lol:
Windows 7 & PureBasic 4.4
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Are you going to include the properties box in the demo files?
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Flaming Amoeba

Post by Flaming Amoeba »

Rook STFU and just buy esgrid :P
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

DoubleDutch wrote:Are you going to include the properties box in the demo files?
That would make it a 1200 line demo! :wink: A bit heavy going for an EsGRID demo I reckon!

No, this utility is part of another package which I will release at a future time.
I may look like a mule, but I'm not a complete ass.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

My next job does require that I write a grid control from scratch, one which will not be as powerful as EsGRID, but I may indeed be able to set a background image to this one.
Yep it would be useful to me as I want to make a screen where the waitress can simply select a table on a map so I would like to have a UNDERLAY with the restaurant floorplan on it... Then I could plot table location on the overlay grid...

Hey! for you... with the gradebook program you could use something like this in that... setup the classroom desplan and make taking attendance each day a visual snap!

:D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

The EsGRID site is back up and running.

:)
I may look like a mule, but I'm not a complete ass.
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post by Rook Zimbabwe »

Rook STFU and just buy esgrid
Hey I went to STF University... did you graduate from there too??? I bet you were Valedictioian!!! :wink: ( just teasing... really!!! :D )

Actually I might... I may not even want to use a background... I can see where they would just set a table location and number it and then eGrid just returns what area was clicked on to set restaurant table location...

Hmmm... :D
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

Rook, I'm not entirely sure that a full blown grid control is really what you need for this project of yours? Seems to me that you'd be better off drawing some kind of grid / table yourself.

I wouldn't want you making a purchase only to find that a grid control doesn't really suit your purposes.
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 »

Update. EsGRID version 1.2.3
Version 1.2.3 of EsGRID fixes a couple of bugs; one with dynamic resizing and one involving tabbing between cells.

NOTE that this is the last update for Purebasic 4.1. All future updates will target Purebasic 4.2. This does not affect the dll versions.

A version of EsGRID for PB 4.2 has not been released yet. I will await the next PB beta version.

Regards.

egrid forum: http://egrid.aceboard.com/
egrid website: http://www.purecoder.net/esgrid.htm
I may look like a mule, but I'm not a complete ass.
Vladi
User
User
Posts: 33
Joined: Sun Sep 10, 2006 3:09 pm

Post by Vladi »

srod, when I buy your dll, am I allowed to deploy it with my pgm on my clients' pcs? Hundreds? Thousands? Or do I need to buy one license each?
Post Reply