messagedlg('文件存在,是否覆盖?',mtconfirmation,[mbyes]+[mbno],0);
是什么意思?返回值大概都有什么?
还有括号中的0是什么意思?edit1.SelText; 
seltext什么意思?

解决方案 »

  1.   

    看过了,要不然还全不懂呢
    现在只是不知道哪个0是什么意思?还有他的返回值6代表yes,几是no?edit1.SelText; 
    seltext什么意思?这个也不懂,去了也没错。
      

  2.   

    This example uses a button on a form. When the user clicks the button, a message box appears, asking if the user wants to exit the application. If the user chooses Yes, another dialog box appears informing the user the application is about to end. When user chooses OK, the application ends.procedure TForm1.Button1Click(Sender: TObject);begin
      if MessageDlg('Welcome to my Delphi application.  Exit now?',
        mtConfirmation, [mbYes, mbNo], 0, mbYes) = mrYes then
      begin
        MessageDlg('Exiting the Delphi application.', mtInformation,
          [mbOk], 0, mbOk);
        Close;
      end;end;
      

  3.   

    edit1.seltext指该单行编辑框中被选中(高亮显示)的字符串