SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
An ANSI key is pressed while the popup calculator is active.
VB.NET | Private Sub object_CalculatorKeyPress(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.CalculatorKeyPress |
VB | Private Sub object_CalculatorKeyPress(KeyAscii As Integer) |
C#.NET | void object_CalculatorKeyPress(object sender, EventArgumentType e); |
VC++ | void OnCalculatorKeyPressobject(short* KeyAscii); |
C | HRESULT OnCalculatorKeyPressobject(short* KeyAscii); |
object
KeyAscii
Describes the key pressed using standard numeric ANSI key codes.
The CalculatorKeyPress event occurs when an ANSI key is pressed while the popup calculator is active.
Use CalculatorKeyDown and CalculatorKeyUp events to handle any keystroke not recognized by CalculatorKeyPress, such as function keys, editing keys, navigation keys, and any combination of these with keyboard modifiers, such as SHIFT, CONTROL and ALT keys. Unlike the CalculatorKeyDown and CalculatorKeyUp events, CalculatorKeyPress doesn't indicate the physical state of the keyboard; it passes a character instead.
The key typed by the user can be suppressed by setting KeyAscii to 0. It can be modified by assigning a new value to the KeyAscii variable.
This event should not be used to modify properties of the Masked Edit control, nor should its methods be called.
See Also SftMask Events | Object Hierarchy