(view help text of dialogboxes as plain text)
Help for MessageBox class ââââââââââââââââââââââââââ Present a message dialog, and return the caption of the button clicked COM ProgID: RobvanderWoude.MessageBox ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â â â Properties (Note that all properties are string or integer, no booleans, objects or arrays) â â â ââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââââââââââââââ¤ââââââââââââ¤ââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââââ¡ â Property Name â Description â Mandatory â Read-Only â Default (Allowed) Values â ââââââââââââââââââââââââªâââââââââââââââââââââââââââââââââââââââââââââââââââââªââââââââââââªââââââââââââªâââââââââââââââââââââââââââââââââââââââââââ¡ â buttons â The buttons presented in the dialog â no â no â OK (OK, OKCancel, AbortRetryIgnore, â â â â â â YesNoCancel, YesNo, RetryCancel) â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â buttonclicked â The caption of the button that was clicked â no â no â â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â defaultbutton â The button that has focus when the dialog opens â no â no â Button1 (Button1, Button2, Button3) â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â debuginfo â A log of actions for debugging â N/A â YES â â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â errors â List of errors with current settings â N/A â YES â â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â icons â The icon in the dialog â no â no â None (None, Hand, Error, Stop, â â â â â â Question, Exclamation, Warning, â â â â â â Asterisk, Information) â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â message â The message to be displayed in the dialog â no â no â â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â options â The options for the dialog â no â no â DefaultDesktopOnly, ServiceNotification â â â â â â (DefaultDesktopOnly, RightAlign, â â â â â â RtlReading, ServiceNotification) â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â title â Dialog window title â no â no â DialogBoxes.dll, Version 0.18.1.0 â ââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââ¼ââââââââââââ¼ââââââââââââ¼ââââââââââââââââââââââââââââââââââââââââââ⤠â Version â Show this DLL's version â N/A â YES â â ââââââââââââââââââââââââ´âââââââââââââââââââââââââââââââââââââââââââââââââââââ´ââââââââââââ´ââââââââââââ´âââââââââââââââââââââââââââââââââââââââââââ ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ â â â Methods â â â âââââââââââââââââââââââââ¤âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¤ââââââââââââââââââââââââââââââââââââââââââ¡ â Method Name â Description â Requirements â âââââââââââââââââââââââââªâââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââªââââââââââââââââââââââââââââââââââââââââââ¡ â CheckUpdate â Check the developer's website for updates â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â Credits â Shows credits â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â Help â Returns this help text as plain text, or if optional parameter equals 1, â â â â as html â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â ListMessageBoxButtons â Return a semicolon-separated list of available buttons â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â ListMessageBoxIcons â Return a semicolon-separated list of available icons â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â ListMessageBoxOptions â Return a semicolon-separated list of available options â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â ListProperties â Returns a list of this class' properties as key=value pairs (1 per line) â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â SampleCode â Returns VBScript sample code for this dialog â â âââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¼âââââââââââââââââââââââââââââââââââââââââ⤠â Show â Presents a message dialog based on the current property values, and saves â â â â the caption of the button that is clicked in the "buttonclicked" property. â â âââââââââââââââââââââââââ´âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ´ââââââââââââââââââââââââââââââââââââââââââ VBScript usage example: âââââââââââââââââââââââ Set objMessageBox = CreateObject( "RobvanderWoude.MessageBox" ) With objMessageBox .message = "This MessageBox is more or less obsolete in VBScript," & vbCrLf _ & "as it is almost identical to VBScript's own MsgBox," & vbCrLf _ & "but it may be useful in other COM-aware scripting languages." .title = "MessageBox Demo" .buttons = "OK" .icon = "Information" .Show WScript.Echo "You clicked: " & .buttonclicked WScript.Echo WScript.Echo .ListProperties( ) End With Set objMessageBox = Nothing
page last uploaded: 2022-10-05; loaded in 0.0123 seconds