This document is archived and information here might be outdated. Recommended version. |
Shows the dialog.
[Visual Basic .NET]
Public Function DoModal ( _
ByVal Title As String, _
ByVal initialValue As Double, _
ByVal numDecs As Integer, _
ByVal hWnd As Integer _
) As Boolean
[C#]
public bool DoModal (
string Title,
double initialValue,
int numDecs,
int hWnd
);
Title is a string that specifies the title of the dialog.
initialValue specifies the intial value to be displayed in the dialog.
numDecs specifies the number of decimal places to be used for the value.
hWnd specifies the window handle of the parent window. In most cases this will be the hWnd of the application.
If a non-numeric value was entered or if the dialog was cancelled, the DoModal method returns False.