Click or drag to resize

DataWindow.Activate Method (Typed)

X#
Provide a method that is invoked when this 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 USUAL
Request Example View Source

Parameters

oEvent
Type: Event
The event that describes which window was activated.

Return Value

Type: Usual
Remarks
Tip 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 window's lifetime or when the window is activated after it has been deactivated (for example, by clicking on it with the mouse). The newly active window 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