Changeset 189 for trunk/Messg.pas


Ignore:
Timestamp:
May 7, 2020, 12:46:55 AM (4 years ago)
Author:
chronos
Message:
  • Added: New Global unit with global constants.
  • Modified: Multiple occurence of string constants used for subdirectories replaced by functions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Messg.pas

    r173 r189  
    8282  if OpenSound <> '' then
    8383    PostMessage(Handle, WM_PLAYSOUND, 0, 0);
    84 end; { FormPaint }
     84end;
    8585
    8686procedure TMessgDlg.Button1Click(Sender: TObject);
     
    9797begin
    9898  if Key = #13 then
    99     ModalResult := mrOK
     99    ModalResult := mrOK;
    100100    // else if (Key=#27) and (Button2.Visible) then ModalResult:=mrCancel
    101101end;
     
    108108    Kind := mkOK;
    109109    ShowModal;
    110   end
     110  end;
    111111end;
    112112
     
    119119    Kind := mkOK;
    120120    ShowModal;
    121   end
     121  end;
    122122end;
    123123
Note: See TracChangeset for help on using the changeset viewer.