Visual Basic 個MsgBox點用?

2011-02-05 1:52 am
Visual Basic 個MsgBox點用?

回答 (1)

2011-02-05 5:11 am
✔ 最佳答案
MsgBox "message", vbControl, "title", helpID

message is the content of the message Box

vbControl is to display the "Icon" of the message and "buttons"
e.g vbInformation display "I" icon
vbYesNo display "Yes" and "No" buttons
use both Control, vbInformation + vbYesNo

title is the title to display in the top right control of message boc

helpID is the ID no. of help content (rare use) and optional

only the "message" is compulsory.

If you have any problem, you can use "Help" or F1 in VB


收錄日期: 2021-04-13 17:48:21
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20110204000051KK00618

檢視 Wayback Machine 備份