[Lazarus] TMemDataset.Filename property in Lazarus

Michael Van Canneyt michael at freepascal.org
Mon Oct 9 10:11:53 CEST 2017

On Sun, 8 Oct 2017, Graeme Geldenhuys via Lazarus wrote:

> Hi,
> Playing around with TMemDataset, I dropped it on a form, then clicked 
> "..." button of the FileName property in the Object Inspector. The file 
> dialog shows that I can select ANY file, so I selected a PNG file and 
> set Active = True. ;-) NO surprise, that didn't work as expected. 
> Incorrect data stream.
> Clearly the TMemDataset expects a specific file format, so why doesn't 
> the File Open dialog list the file type and file extension that is expected.

Because there is no designated extension.


More information about the Lazarus mailing list