TSaveDialog with ofOverwritePrompt and DefaultExt does not show OverwritePrompt if filename is typed without extension
Original Reporter info from Mantis: Bulba
-
Reporter name: Sergey Bulba
Original Reporter info from Mantis: Bulba
- Reporter name: Sergey Bulba
Description:
If (SaveDialog1.DefaultExt = '.txt') and (ofOverwritePrompt in SaveDialog1.Options) then user can type existing file name (f.e. '123.txt'), and SaveDialog1 shows prompt for ovewrite existing file. But if user type only '123' in file name, prompt is not shown, but SaveDialog1.FileName return '123.txt'.
Additional information:
Due this bug application can overwrite existing file without user wish.