请问在DELPHI 上有没有可以显示字符串的对话框??我想用这个对话框并且想把参数值在其上显示,可以吗? application.MessageBox('确定?','确定',MB_YESNOCANCEL+MB_ICONINFORMATION)=IDYes,,有没有其它办法啊?多谢

解决方案 »

  1.   

    MessageBox  
    ShowMessage
    都可以啊
      

  2.   

    >>请问在DELPHI 上有没有可以显示字符串的对话框??
    什麼意思???application.MessageBox 不可以???
      

  3.   

    Application.MessageBox('你要显示的参数值!', '提示',MB_OK);
    ShowMessage('你要显示的参数值!')
    都可以,不知道你要说的对话框到底是指什么???
      

  4.   

    呵呵
    是这样的:
    var
      str:stirng;
    beign
      str := '你好!!!';
      Application.MessageBox(Pchar(str),'提示',MB_OK);
    end;要用Pchar转换一下。