GefScreen.Activate (method)

Makes this screen the active screen for the application.
Syntax: object.Activate
Description: In general, this also brings the screen's window to the front of the desktop among CimView screens.. (Some screens, such as those that have the AlwaysMaximized property, will not change stacking order on the desktop.)



Example:

Sub GefScreen_Activate()
    Dim MyScreen As GefObjectModel.GefScreen
    Set MyScreen = CimGetScreen()
    MyScreen.Activate
End Sub
See Also: Show