|
@@ -23,6 +23,7 @@ type
|
|
|
procedure ErrorMessage(const AMsg: string);
|
|
|
function QuestMessage(const AMsg: string): Boolean;
|
|
|
function QuestMessageYesNo(const AMsg: string): Boolean;
|
|
|
+ procedure TipMessage(const AMsg: string);
|
|
|
procedure DataSetErrorMessage(var Allow: Boolean; const AMsg: string);
|
|
|
|
|
|
{Get Common Path}
|
|
@@ -160,26 +161,27 @@ end;
|
|
|
{Message}
|
|
|
procedure WarningMessage(const AMsg: string);
|
|
|
begin
|
|
|
- MessageBox(Application.Handle, PChar(AMsg), PChar('¾¯¸æ'), MB_OK or MB_ICONWARNING);
|
|
|
- Application.ProcessMessages;
|
|
|
+ MessageBox(Application.Handle, PChar(AMsg), PChar('¾¯¸æ'), MB_OK or MB_ICONWARNING);
|
|
|
end;
|
|
|
|
|
|
procedure ErrorMessage(const AMsg: string);
|
|
|
begin
|
|
|
MessageBox(Application.Handle, PChar(AMsg), PChar('´íÎó'), MB_OK or MB_ICONERROR);
|
|
|
- Application.ProcessMessages;
|
|
|
end;
|
|
|
|
|
|
function QuestMessage(const AMsg: string): Boolean;
|
|
|
begin
|
|
|
Result := MessageBox(Application.Handle, PChar(AMsg), PChar('ѯÎÊ'), MB_OKCANCEL or MB_ICONQUESTION) = IDOK;
|
|
|
- Application.ProcessMessages;
|
|
|
end;
|
|
|
|
|
|
function QuestMessageYesNo(const AMsg: string): Boolean;
|
|
|
begin
|
|
|
Result := MessageBox(Application.Handle, PChar(AMsg), PChar('ѯÎÊ'), MB_YESNO or MB_ICONQUESTION) = IDYes;
|
|
|
- Application.ProcessMessages;
|
|
|
+end;
|
|
|
+
|
|
|
+procedure TipMessage(const AMsg: string);
|
|
|
+begin
|
|
|
+ MessageBox(Application.Handle, PChar(AMsg), PChar('Ìáʾ'), MB_OK or MB_ICONINFORMATION);
|
|
|
end;
|
|
|
|
|
|
procedure DataSetErrorMessage(var Allow: Boolean; const AMsg: string);
|