NXOpen .NET Reference  12.0.0
Public Types | Public Member Functions | Properties | List of all members
NXOpen.NXMessageBox Class Reference

Displays message box. More...

Inheritance diagram for NXOpen.NXMessageBox:

Public Types

enum  DialogType { Error, Warning, Information, Question }
 Describes type of message box. More...
 

Public Member Functions

unsafe int Show (string title, NXOpen.NXMessageBox.DialogType msgboxType, string message)
 Show message box. More...
 
unsafe int Show (string title, NXOpen.NXMessageBox.DialogType msgboxType, string[] messages)
 Show message box. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 

Detailed Description

Displays message box.

Note: The number of lines displayed in the message box can vary based on Operating System and Screen Resolution

To obtain an instance of this class, refer to NXOpen.UI

Created in NX5.0.0

Member Enumeration Documentation

Describes type of message box.

Enumerator
Error 

Error

Warning 

Warning

Information 

Informattion

Question 

Question

Member Function Documentation

unsafe int NXOpen.NXMessageBox.Show ( string  title,
NXOpen.NXMessageBox.DialogType  msgboxType,
string  message 
)

Show message box.

Created in NX5.0.0

License requirements: None.

Parameters
titleTitle
msgboxTypeMessage box type
messageMessage
Returns
Return value from Message Box. If of type NXMessageBox.DialogType.Question then the value will be 1 for yes or 2 for no. Otherwise the returned value will be -2.
unsafe int NXOpen.NXMessageBox.Show ( string  title,
NXOpen.NXMessageBox.DialogType  msgboxType,
string[]  messages 
)

Show message box.

Created in NX5.0.0

License requirements: None.

Parameters
titleTitle
msgboxTypeMessage box type
messagesMulti-line message
Returns
Return value from Message Box. If of type NXMessageBox.DialogType.Question then the value will be 1 for yes or 2 for no. Otherwise the returned value will be -2.

Property Documentation

Tag NXOpen.NXMessageBox.Tag
get

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.