Changeset 112 for trunk/UCore.pas


Ignore:
Timestamp:
Nov 1, 2016, 12:12:04 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Put back accidently removed actions to tray icon popup menu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r110 r112  
    3333    procedure DataModuleCreate(Sender: TObject);
    3434    procedure DataModuleDestroy(Sender: TObject);
     35    procedure TrayIcon1Click(Sender: TObject);
    3536  private
    3637    FAlwaysOnTop: Boolean;
     
    8182  FreeAndNil(StoredDimension);
    8283  FreeAndNil(AcronymDb);
     84end;
     85
     86procedure TCore.TrayIcon1Click(Sender: TObject);
     87begin
     88  if not FormMain.Visible then FormMain.AShow.Execute
     89    else FormMain.Hide;
    8390end;
    8491
Note: See TracChangeset for help on using the changeset viewer.