MSFN Forums: [vb]msgbox Function - MSFN Forums

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[vb]msgbox Function Msgbox Function Explained Rate Topic: -----

#1 User is offline   Doggie 

  • I'm very inactive :(
  • Icon
  • Group: Patrons
  • Posts: 2,674
  • Joined: 13-October 02

Posted 05 March 2003 - 08:15 PM

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 :)

Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

0
  • +
  • -
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users