Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


[vb]msgbox Function

- - - - -

  • Please log in to reply
No replies to this topic



    I'm very inactive :(

  • Patrons
  • 2,560 posts
  • Joined 13-October 02
As you might know, theres a code function called Msgbox which is for a Message Box.
I'll explain what i know about it and its features and use.

Below is what the function is like with room to customize it as you like;
MsgBox(prompt[, buttons][, title][, helpfile, context])

Prompt String expression displayed as the message in the dialog box. The maximum length of prompt is approximately 1024 characters, depending on the width of the characters used. If prompt consists of more than one line, you can separate the lines using a carriage return character (Chr(13)), a linefeed character (Chr(10)), or carriage return–linefeed character combination (Chr(13) & Chr(10)) between each line.

Buttons This has multiply options. You can make it simply show Exclaimation, Question Mark, Critical or Information sign/image appear.
Also you can define it to show certain buttons like, Ok, Ok and Cancel, Yes and No, Yes/ No and cancel and many more.

Title String expression displayed in the title bar of the dialog box. If you omit title, the application name is placed in the title bar.

Help File String expression that identifies the Help file to use to provide Help for the dialog box. If helpfile is provided, context must also be provided.

Context Numeric expression that identifies the Help context number assigned by the Help author to the appropriate Help topic. If context is provided, helpfile must also be provided

Hope this can help a buddin' programmer :)

How to remove advertisement from MSFN

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users