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.

Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to