[Lazarus] [Lazarus 0013565]: DBGrid with Multiselect not select all

Joost van der Sluis joost at cnoc.nl
Wed Jun 17 13:45:06 CEST 2009


Op woensdag 17-06-2009 om 10:05 uur [tijdzone +0200], schreef Luca
Olivetti:
> En/na Mantis Bug Tracker ha escrit:
> 
> [Replying here, since the bug is read only]
> 
> > The following issue has been RESOLVED. 
> > ====================================================================== 
> > http://bugs.freepascal.org/view.php?id=13565 
> [...]
> > Luca Olivetti: it would be nice if could make a patch for memdataset, if
> > not the bug reports are now linked so Joost can take a look at your
> > findings, thanks. 
> 
> Mine is just a quick hack (in fact, I discovered the bug in TMemDataset 
> while debugging the same issue reported here), I think a proper 
> solution, which could be to either split the bookmark and the flags or 
> simply assign the correct Bookmarksize in TMemDataset constructor, is 
> best left to someone familiar to TDataset internal, since I don't know 
> the possible side effects of both solutions.

Actually, the best fix is not to use TMemDataset but use TBufDataset
instead.

Joost.





More information about the Lazarus mailing list