.NET Framework Class Library
UserInterface.ShowPopupWindow Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > UserInterface Class > UserInterface Methods >

.NET Framework Class Library
UserInterface.ShowPopupWindow Method

This command shows a small popup window with a message of maximum three lines of text

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub ShowPopupWindow ( _

title As String, _
message As String, _
showDelay As Integer, _
animateDelay As Integer, _
transparency As Integer, _
width As Integer, _
height As Integer _
)

C#

public void ShowPopupWindow(

string title,
string message,
int showDelay,
int animateDelay,
int transparency,
int width,
int height
)

Visual C++

public:

void ShowPopupWindow(
String^ title,
String^ message,
int showDelay,
int animateDelay,
int transparency,
int width,
int height
)

JavaScript

function showPopupWindow(title, message, showDelay, animateDelay, transparency, width, height);

Parameters

title

Type: System.String

message

Type: System.String
The message to be displayed in the window (up to 3 lines allowed)

showDelay

Type: System.Int32
The delay in milliseconds after that the window will be closed

animateDelay

Type: System.Int32
The delay in milliseconds of the initial and ending animation of the window display

transparency

Type: System.Int32
Value of the transparency (0..255)
0 = full transparent
255 = full opaque

width

Type: System.Int32
The width of the dialog in pixel (default value is 440px)

height

Type: System.Int32
The height of the dialog in pixel (default value is 100px)

See Also

UserInterface Class

UserInterface Members

MwPDMApi Namespace