Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
HandleMainMenuStripFocusChangeState Property (OpenSystemsTerminalControl)
In This Topic
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 OpenSystemsTerminalControl
object.
Syntax
'Declaration
<CategoryAttribute("Terminal")> <DescriptionAttribute("Check main form MenuStrip activation and deactivation event to switch focus from/to Terminal User Control.")> Public Property HandleMainMenuStripFocusChangeState As Boolean
'Usage
Dim instance As OpenSystemsTerminalControl Dim value As Boolean instance.HandleMainMenuStripFocusChangeState = value value = instance.HandleMainMenuStripFocusChangeState
[Category("Terminal")] [Description("Check main form MenuStrip activation and deactivation event to switch focus from/to Terminal User Control.")] public bool HandleMainMenuStripFocusChangeState {get; set;}
See Also