separator separator

BoxesDefaultTitle (Property)

Returns or sets the default title for the MsgBox and InputBox functions with skin. It is available only at run time.


object.BoxesDefaultTitle [= text]

The BoxesDefaultTitle property syntax has these parts:

Part Description
object An object expression referencing to a vbSkinner object.
text A String containing the default caption for the dialog boxes.


Every time you call to the MsgBox and InputBox functions without specifying the optional parameter "title", the title displayed will be the one set in this property. In the case that this property is not set, the name of the program will be displayed similar as VB do.

If you want to display them without any title, then set this property to a one space string::

Skinner1.BoxesDefaultTitle = " "

Once the text of this property is set, it is not needed to set it again, unless that you want to change it.


See also: SkinBoxes (property)


ActiveX controls for Visual Basic 6 - homevbSkinner help main page Beginning   Go back Back