:: com :: sun :: star :: awt ::
|
interface XMessageBoxFactory |
|
- Description
- specifies a factory interface for creating message boxes.
|
Methods' Details |
createMessageBox
XMessageBox |
createMessageBox( |
[in] XWindowPeer |
aParent, |
| [in] Rectangle |
aPosSize, |
| [in] string |
aType, |
| [in] long |
aButtons, |
| [in] string |
aTitle, |
| [in] string |
aMessage ); |
- Description
- creates a message box.
- Returns
- the created message box or a null reference if it cannot be
created.
- Parameter aParent
- a valid XWindowPeer reference which is used as a parent. This parameter
must not be null.
- Parameter aPosSize
- a rectangle which defines the position and size of the message
box in pixel.
- Parameter aType
- a string which determines the message box type.
The following strings are defined.
- infobox A message box to inform the user about a certain event.
Attention:
This type of message box ignores the argument
aButton because a info box always shows a OK button.
- warningbox A message to warn the user about a certain problem.
- errorbox A message box to provide an error message to the user.
- querybox A message box to query information from the user.
- messbox A normal message box.
- Parameter aButtons
- specifies which buttons should be available on the
message box. A combination of
MessageBoxButtons. An infobox
ignores this parameter and always use button "OK".
- Parameter aTitle
- specifies the title of the message box.
- Parameter aMessage
- specifies text which will be shown by the message box.
Line-breaks must be added using "CR" or "CR+LF".
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.