Changeset 95 for trunk/Packages


Ignore:
Timestamp:
Feb 3, 2022, 11:39:12 PM (3 years ago)
Author:
chronos
Message:
  • Added: URLs and emails can be opened in default applications.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/UCommon.pas

    r90 r95  
    6868function OccurenceOfChar(What: Char; Where: string): Integer;
    6969procedure OpenWebPage(URL: string);
     70procedure OpenEmail(Email: string);
    7071procedure OpenFileInShell(FileName: string);
    7172function PosFromIndex(SubStr: string; Text: string;
     
    475476end;
    476477
     478procedure OpenEmail(Email: string);
     479begin
     480  OpenURL('mailto:' + Email);
     481end;
     482
    477483procedure OpenFileInShell(FileName: string);
    478484begin
Note: See TracChangeset for help on using the changeset viewer.