Explain what is wrong here ?????
procedure TForm8.tmr1Timer(Sender: TObject); begin ... Application.MessageBox('Мое сообщение.'); // [Error] Unit8.pas(38): Not enough actual parameters end; Explain what is wrong here ?????
procedure TForm8.tmr1Timer(Sender: TObject); begin ... Application.MessageBox('Мое сообщение.'); // [Error] Unit8.pas(38): Not enough actual parameters end; The TApplication.MessageBox method in Delphi is
function MessageBox(const Text: PChar; const Caption: PChar; Flags: Longint = MB_OK): Integer; According to your "photo" it is difficult to see something, but the set of parameters when calling is clearly not consistent with the description of the method. What, by the way, is stated in the error message on the first picture.
Source: https://ru.stackoverflow.com/questions/520188/
All Articles