全國最多中醫師線上諮詢網站-台灣中醫網
發文 回覆 瀏覽次數:1545
推到 Plurk!
推到 Facebook!

小問題

尚未結案
cluise
一般會員


發表:2
回覆:1
積分:0
註冊:2005-10-28

發送簡訊給我
#1 引用回覆 回覆 發表時間:2007-11-15 10:23:14 IP:211.21.xxx.xxx 訂閱
下面程式碼哪裡錯?


[code delphi]
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;

type
TForm1 = class(TForm)
Button1: TButton;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form1: TForm1;

implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
{ TMsgDlgType type
------------------------
Value Meaning

mtCustom A message box with a caption you supply (or, if you do not supply a caption, with the application title for a caption.)
mtInformation A message box with the caption nformation?
mtWarning A message box with the caption arning?
mtError A message box with the caption rror?
mtConfirmation A message box with the caption onfirm?that asks for confirmation before performing some action. If you do not supply an image to appear in the message box, it displays the confirmation icon.

TMsgDlgBtn, TMsgDlgButtons type
---------------------------------
Value Meaning

mbNone Used to indicate no button in particular (when specifying that there is no default button)
mbOk A button the text 'Ok' on its face.
mbCancel A button with the text 'Cancel' on its face.
mbYes A button with 'Yes' on its face.
mbNo A button the text 'No' on its face.
mbAbort A button with the text 'Abort' on its face
mbRetry A button with the text 'Retry' on its face
mbIgnore A button the text 'Ignore' on its face
}
MessageDlg('訊息提示詢問?', mtInformation,
[mbOk], 0, mbOk);
end;

end.[/code]
P.D.
版主


發表:603
回覆:4038
積分:3874
註冊:2006-10-31

發送簡訊給我
#2 引用回覆 回覆 發表時間:2007-11-15 16:30:55 IP:61.67.xxx.xxx 未訂閱
1.有問題到討論區發言, 才會有人回覆
2.你是希望我們玩猜謎遊戲嗎? 如果你都不知道會有什麼問題, 我們如何協助你呢?
cluise
一般會員


發表:2
回覆:1
積分:0
註冊:2005-10-28

發送簡訊給我
#3 引用回覆 回覆 發表時間:2008-02-26 16:22:44 IP:211.21.xxx.xxx 訂閱
回覆神麼鼕鼕?不董
系統時間:2024-04-21 0:27:51
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!