Control.Activate Method | |
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
[ClipperCallingConventionAttribute(new string[] { ... })]
public virtual Usual Activate(
Usual oEvent = default
)
Request Example
View SourceParameters
- oEvent (Optional)
- Type: Usual
The event that describes which window was activated.
Return Value
Type:
UsualRemarks 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