HandleMainMenuStripFocusChangeState Property (IbmTerminalControl)
When set to true, the main form menustrip activation and deactivation event will be tracked to switch focus to or from the terminal user control. If set to false, you will need to add your own MenuStrip Activation and Deactivation event handlers. In the Activation event handler, get the sender Control object and call Focus on that object. In the Deactivation event handler, set the Focus on this IbmTerminalControl object.
Syntax
'Declaration
<DescriptionAttribute("Check main form MenuStrip activation and deactivation event to switch focus from/to Terminal User Control.")>
<CategoryAttribute("Terminal")>
Public Property HandleMainMenuStripFocusChangeState As Boolean
'Usage
Dim instance As IbmTerminalControl
Dim value As Boolean
instance.HandleMainMenuStripFocusChangeState = value
value = instance.HandleMainMenuStripFocusChangeState
[Description("Check main form MenuStrip activation and deactivation event to switch focus from/to Terminal User Control.")]
[Category("Terminal")]
public bool HandleMainMenuStripFocusChangeState {get; set;}
See Also