ErrorMsg Procedure |
Unit
QESBPCSMsgs
Declaration
Procedure ErrorMsg(const Msg: string);
Description
Ensures Default Cursor is displayed, preserves state of cursor.
Parameters |
Msg | Message to Display. |
Category
Routines that produce DialogsImplementation
procedure ErrorMsg (const Msg: string); var Hold: TCursor; begin Hold := Screen.Cursor; Screen.Cursor := crDefault; try MessageDlg (Msg, mtError, [mbOK], 0); finally Screen.Cursor := Hold; end; End; |
|