Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Occurs when the user presses an ANSI key.
Namespace: Microsoft.Office.Interop.Outlook
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
Syntax
'Declaration
Event KeyPress As OlkDateControlEvents_KeyPressEventHandler
'Usage
Dim instance As OlkDateControlEvents_Event
Dim handler As OlkDateControlEvents_KeyPressEventHandler
AddHandler instance.KeyPress, handler
event OlkDateControlEvents_KeyPressEventHandler KeyPress
Remarks
An ANSI key is one that produces a typeable character when the user presses it. The KeyPress event occurs when the user presses an ANSI key on a running form while the form or a control on it has the focus. The event can occur either before or after the key is released.
A KeyPress event does not occur under the following conditions:
Pressing TAB
Pressing ENTER
Pressing an arrow key
When a keystroke causes the focus to move from one control to another.
See Also
Reference
OlkDateControlEvents_Event Interface
OlkDateControlEvents_Event Members
Microsoft.Office.Interop.Outlook Namespace
Microsoft.Office.Interop.Outlook.OlkDateControlEvents_KeyPressEventHandler