Page History
...
The EnterBehavior property establishes how the control treats the Enter key. By default, pressing the Enter key fires the OnDblClick event. However, you can choose to have the Enter key fire the OnClick event or to prevent the Enter key from firing any events at all. Simply set this property to "Single" or "None" to achieve the respective results, or leave it set to "Double" to receive the OnDblClick message.
...
Code Block |
---|
// Turn off Enter key automation Set_Property(@Window:".OLE_TREE", "OLE.EnterBehavior", "None") |
See Also
CheckBehavior, DropBehavior, ExpandBehavior, SelectBehavior, OnClick, OnDblClick