Changeset 210 for branches/highdpi/Messg.pas
- Timestamp:
- May 9, 2020, 4:02:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Messg.pas
r178 r210 43 43 implementation 44 44 45 uses 46 Sound; 47 45 48 {$R *.lfm} 46 49 … … 79 82 if OpenSound <> '' then 80 83 PostMessage(Handle, WM_PLAYSOUND, 0, 0); 81 end; { FormPaint }84 end; 82 85 83 86 procedure TMessgDlg.Button1Click(Sender: TObject); … … 94 97 begin 95 98 if Key = #13 then 96 ModalResult := mrOK 99 ModalResult := mrOK; 97 100 // else if (Key=#27) and (Button2.Visible) then ModalResult:=mrCancel 98 101 end; … … 105 108 Kind := mkOK; 106 109 ShowModal; 107 end 110 end; 108 111 end; 109 112 … … 116 119 Kind := mkOK; 117 120 ShowModal; 118 end 121 end; 119 122 end; 120 123
Note:
See TracChangeset
for help on using the changeset viewer.