Control.Activate Method (Typed) | |
Provide a method that is invoked when the control has focus and a window is activated.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD Activate(
oEvent AS Event
) AS VOID
public virtual void Activate(
Event oEvent
)
Request Example
View SourceParameters
- oEvent
- Type: Event
The event that describes which window was activated.
Remarks Tip |
---|
Important! This is a callback method used by X#.
Normally, it should not be called in your application code.
|
The Activate() event occurs at the start of the control's lifetime or when the control is activated after it has been deactivated (for example, by clicking on it with the mouse). The newly active control receives the input focus.
You should create and show cursors (if needed) in this event handler method.
Any subclass with its own Activate() and Deactivate() event handlers should always call its owner's handlers. This ensures that the caption bars get highlighted or dimmed accordingly.
See Also