ChildWinForm.Activate Method | |
Provide a method that is invoked when this window is activated.
Namespace:
XSharp
Assembly:
VOGUIClasses (in VOGUIClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD Activate(
o
) AS USUAL CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public override Usual Activate(
Usual o = default
)
Request Example
View SourceParameters
- o (Optional)
- Type: Usual
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 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