Click or drag to resize

Control.Activate Method

X#
Provide a method that is invoked when the control has focus and a window is activated.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD Activate(
	oEvent
) AS USUAL CLIPPER
Request Example View Source

Parameters

oEvent (Optional)
Type: Usual
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 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