PopupKeypad(String,Int32,Decimal,Decimal,Double) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopupKeyboard() method displays the Virtual Keypad dialog. This dialog provides for numerical entry via a touch screen. This overload of the method returns the keypad entry as DialogResult.
'Declaration
Public Overloads Shared Function PopupKeypad( _
ByVal OrigValue As String, _
ByVal NumDecimals As Integer, _
ByVal Minimum As Decimal, _
ByVal Maximum As Decimal, _
ByRef Keypadvalue As Double _
) As DialogResult
public static DialogResult PopupKeypad(
string OrigValue,
int NumDecimals,
decimal Minimum,
decimal Maximum,
ref double Keypadvalue
)
Parameters
- OrigValue
- Required. Holds the original value from the source control.
- NumDecimals
- Required. Holds the number of decimals that should be used in this keypad.
- Minimum
- Required. Holds the minimum value that can be entered in the keypad.
- Maximum
- Required. Holds the maximum value that can be entered in the keypad.
- Keypadvalue
- Input. Output. Holds the returned value from the keypad if the dialog is successful.
Return Value
Returns the DialogResult value of the Virtual Keypad dialog.