[Lazarus] DefaultExt and Filter priority.

Zaher Dirkey parmaja at gmail.com
Sat Jun 16 10:29:34 CEST 2012

Hi Lazarus team,

I know it is not Delphi compatibility.

In OpenDialogs or SaveDialog if i set DefaultExt value and execute, and
type file name without an extension, the file name return with the
extension from the first extension in the filter.

1 - DefaultExt not work until filter is empty
2 - DefaultExt is nonsense if the Filter is set

Most programmers set the filter except the newbie ones, then mostly
DefaultExt is nonsense.

My problem is my project collect the filter from the plugins, i can't sort
it manually to put the default extension to the first, DefaultExt come not
useful for me.

Best Regards
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120616/17f21e90/attachment-0002.html>

More information about the Lazarus mailing list