Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,106
    • Issues 2,106
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #36024
Closed
Open
Created Aug 29, 2019 by FPC Admin account@fpc_adminOwner

TSaveDialog.OnTypeChange not working/firing

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)
Assignee
Assign to
Time tracking