Ignore:
Timestamp:
May 9, 2020, 4:02:07 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Improved HighDPI branch. Imported new changes from trunk branch.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/Messg.pas

    r178 r210  
    4343implementation
    4444
     45uses
     46  Sound;
     47
    4548{$R *.lfm}
    4649
     
    7982  if OpenSound <> '' then
    8083    PostMessage(Handle, WM_PLAYSOUND, 0, 0);
    81 end; { FormPaint }
     84end;
    8285
    8386procedure TMessgDlg.Button1Click(Sender: TObject);
     
    9497begin
    9598  if Key = #13 then
    96     ModalResult := mrOK
     99    ModalResult := mrOK;
    97100    // else if (Key=#27) and (Button2.Visible) then ModalResult:=mrCancel
    98101end;
     
    105108    Kind := mkOK;
    106109    ShowModal;
    107   end
     110  end;
    108111end;
    109112
     
    116119    Kind := mkOK;
    117120    ShowModal;
    118   end
     121  end;
    119122end;
    120123
Note: See TracChangeset for help on using the changeset viewer.