begin
messagebox.show('ok');
end
错在哪里?

解决方案 »

  1.   

    Application.MessageBox();"messagebox.show('ok');"好象是VB,和C#的吧!!!
      

  2.   

    begin
      Application.MessageBox('提交不成功,请检查数据是否填写正确!', '提示', MB_OK);
    end;
      

  3.   

    你那是c#的写法,用下面写Delphi的:
    MessageBox(Handle, '提交不成功,请检查数据是否填写正确!', '提示', MB_OK); :b
      

  4.   

    我照着delphi8.0的书上写的:messagebox.show不对?单独写这句也不对?
    var
    thisday:datetime;
    nextday:datetime;
    begin
    thisday:=datetime.now;
    nextday:=datetime.addyears(1);
    messagebox.show('明年此时是:'+convert.tostring(nextday));
    end;
      

  5.   

    那是delphi.net的东西,呵呵。不能在d7或更低版本里用
      

  6.   

    .......
    偶还真没见过messagebox.show