Page 7 of 23
Posted: Thu Sep 06, 2007 11:59 am
by srod
Thorsten1867 wrote:srod wrote:Not sure what you mean? Do you mean that you wish to prevent the user selecting multiple cells by click and drag etc?
Yes, that's it. The problem is, that the cells are sometimes selected too, if I change the cell or row in the callback. Some user are wondering, if they can select multiple cells and it's not possible to something with it.
Now that's a flaming bug if ever I saw one!
I'll fix this first before returning to the question of preventing multiple cell selection through click and drag.
Posted: Thu Sep 06, 2007 12:27 pm
by srod
Phew, that was a tough one to track down!
The bug is fixed. Actually this fix has also fixed a very long standing bug which I've been scratching my head over for months! Of course I kept quiet about that one -it was very very obscure!
Right before rebuilding all the libraries, are you wishing for some mechanism by which you can prevet the user from highlighting multiple cells through click and drag? To be honest there is little point in doing this because the user can do no 'damage' anyhow if you use your CellCallback to prevent deletions etc.
Posted: Thu Sep 06, 2007 1:32 pm
by srod
6th September 2007.
Bug fix version.
Version 2.02 of egrid 5 fixes a couple of obscure bugs.
(Thanks Thorsten.)
Regards.
Posted: Sat Sep 15, 2007 8:21 pm
by srod
Update. EsGRID version 2.03.
Version 2.03 of EsGRID fixes a bug causing the vertical centering of cell text to be out by 4 pixels. It also adds a certain refinement to the use of context menus in selected cells.
Of course your next question will be : "What the hell is EsGRID and what happened to egrid ?"
I explain the reason behind the name change in the 'egrid' forums.
Regards.
Stephen.
Posted: Sun Sep 16, 2007 12:05 pm
by Brice Manuel
Any chance of losing the horrid Paul Turley inspired logo/header image?
Thank you for the update

Posted: Sun Sep 16, 2007 12:11 pm
by srod
Brice Manuel wrote:Any chance of losing the horrid Paul Turley inspired logo/header image?
Thank you for the update

You mean on the EsGRID website? I kinda like it, reminds me of my hippy days!
No wait, I was never a hippy... - or was I? Damn those drugs...

Posted: Sun Sep 16, 2007 1:13 pm
by Brice Manuel
I was teasing ya

Posted: Mon Sep 17, 2007 11:46 am
by rsts
I suppose EzGrid was unavailable too?
Thanks for the update and a great piece of software.
cheers
Posted: Mon Sep 17, 2007 11:51 am
by srod
rsts wrote:I suppose EzGrid was unavailable too?
Thanks for the update and a great piece of software.
cheers
Now 'EzGrid' sounds too much like the Shamen's "Ebeneezer Goode" as in "e's are good, e's are good..." and that would probably get the Narcotics police after me!

formatted text
Posted: Wed Sep 26, 2007 4:13 pm
by michel
Hello srod
Is there a way to write a text on the left, on the right or centred in a cell?
michel
Posted: Wed Sep 26, 2007 4:31 pm
by srod
Hi, I'm not sure what you mean exactly?
You can justify text in string type and button type cells so that it is left justified, centered or right justified.
Is this what you are after?
formatted text
Posted: Wed Sep 26, 2007 5:17 pm
by michel
Hello srod
That is exacly what I had in mind
michel
Posted: Wed Sep 26, 2007 5:53 pm
by srod
Hi,
you need to handle the #egrid_FormatCell message in a CellCallback function.
Have a look at demo program 6 which uses centred text.
Posted: Wed Sep 26, 2007 8:54 pm
by michel
Hi,
Thank you for that tip.
michel
Posted: Wed Oct 03, 2007 4:39 pm
by srod
Update. EsGRID version 2.04.
Version 2.04 of EsGRID fixes a bug which (in very obscure circumstances) caused EsGRID to be incompatible with my own EasyVENT library.
Took the opportunity to make the following ammendments whilst I was ripping EsGRID apart :
1) Altered and extended the #egrid_ContextMenu CellCallback message which now fires for header cells as well.
Though unlikely, this ammendment could break some existing code because of the interpretation of the 'row' and 'column' fields of the egridCellInfo structure. See the help manual for details (egrid_CreateCellCallback()).
2) Added a new CellCallback message; #egrid_LeftButtonDblclick.
Note that whilst this new message is added to complement the existing mouse notifications, it can fail to fire if cells of type #egrid_String or one of the combo box types are double-clicked. This is because the Windows control used to edit the cell can 'swallow' the second click.
Still, with care, it can undoubtedly be of some use.
The help manual has been updated.
Regards.
Stephen.