TSaveDialog.OnTypeChange not working/firing
Original Reporter info from Mantis: MIS5
-
Reporter name:
Original Reporter info from Mantis: MIS5
- Reporter name:
Description:
OnTypeChange simply does not fire. I do not think it has been implemented in the Cocoa widgetset.
Steps to reproduce:
FMySaveDialog.OnTypeChange := MyExportHandlerTypeChange;
procedure TMainForm.MyExportHandlerTypeChange;
begin
ShowMessage('This never fires');
end;
Additional information:
Chaning filename file extension when the selected filter/format is changed by the user is a rather important feature
i.e. I have a default filename "default.csv" and then "Comma separated values fil (*.csv)" is also the default selected filter/format
I would like to have the file extension changed whenever he user changes the selected filter/format.
(This is how the dialog behaves on Delphi/Windows/VCL - but from forum I can the OnTypeChange events works on Laazarus/Windows)
https://forum.lazarus.freepascal.org/index.php?topic=46577.msg332363#msg332363
Mantis conversion info:
- Mantis ID: 36024
- OS: Mac
- OS Build: 10.14.4
- Build: 61470M
- Platform: Cocoa
- Fixed in revision: 62158 (#c8dc8aa5)