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.
I may look like a mule, but I'm not a complete ass.
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.
I may look like a mule, but I'm not a complete ass.
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.
I may look like a mule, but I'm not a complete ass.
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!
I may look like a mule, but I'm not a complete ass.
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.
I may look like a mule, but I'm not a complete ass.