MsgBox procedure
Return to Introduction  Previous page  Next page
Unit
acUtils  

Declaration
function MsgBox(Msg: String; Flags: LongInt);  

Description
Shows the message box with specified text (Msg parameter) and flags (Flags parameter).  

Original code
function MsgBox(Msg: String; Flags: LongInt): Integer;  
begin  
  Result := Application.MessageBox(PChar(Msg), PChar(Application.Title), Flags);  
end;  

See also
InfoBox and ErrorBox procedures.