|
-
Dec 29th, 1999, 06:36 PM
#1
Thread Starter
Member
Now after hard two days of training on vb6
i know something about it but i have on small
question
how to change the caption of messagebox(msgbox)?
well you know that text in the top
-
Dec 29th, 1999, 06:48 PM
#2
The caption is the third argument of a MsgBox!
Call MsgBox("This is a message, vbOKOnly, "Message")
Good luck!
------------------
Joacim Andersson
[email protected]
[email protected]
www.YellowBlazer.com
-
Dec 29th, 1999, 07:00 PM
#3
Thread Starter
Member
-
Dec 29th, 1999, 07:01 PM
#4
Hyperactive Member
-
Dec 29th, 1999, 07:04 PM
#5
Frenzied Member
Joacim, why do you use Call with a message box?
-
Dec 29th, 1999, 07:42 PM
#6
I think hez calling the msgbox..
-
Dec 29th, 1999, 08:14 PM
#7
Hyperactive Member
*LOL* yes he's calling the msgbox..
If you have function which want more then 1 parameter, you can call it like either
MyFun Par1, Par2, Par3
or
Call MyFun(Par1, Par2, Par3)
If you remove the Call in the 2nd one, you get an error... (instead of call you can also check the return type, for instance, a boolean:
If MyFun(Par1, Par2, Par3) Then
' something
Else
' something else
End if
By the way, I assume your keyboard has a F1 key to... if you press that, you get help :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|