Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-09

TFileNameEdit in dkSave mode: defaultext

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrea Mauri

dear all,
While using the TFileNameEdit in dkSave mode I didn't find the way to make the dialog append a given default extension to the filename. In the standard save dialog I set the DefaultExt property and when the user types the filename, that extension is automatically added to the filename. In the TFileNameEdit component I could not find the same property or any other way to do that. Is this feature available in some other way, or is it something that should be added in the future? andrea

Reply by email

Michael Van Canneyt
to Andrea Mauri
Andrea Mauri wrote 8 lines
dear all, While using the TFileNameEdit in dkSave mode I didn't find the way to make the dialog append a given default extension to the filename. In the standard save dialog I set the DefaultExt property and when the user types the filename, that extension is automatically added to the filename. In the TFileNameEdit component I could not find the same property or any other way to do that. Is this feature available in some other way, or is it something that should be added in the future?

It is something that can be added. Please enter a report in the bugtracker.

Michael.

Reply by email

Andrea Mauri
to Michael Van Canneyt

Il 22/09/2010 13.10, Michael Van Canneyt ha scritto:

While using the TFileNameEdit in dkSave mode I didn't find the way to make the dialog append a given default extension to the filename. In the standard save dialog I set the DefaultExt property and when the user types the filename, that extension is automatically added to the filename.

submitted bug id:0017463

Reply by email