Activate, Deactivate Methods

Purpose

Activate - activates a form, bringing it to the foreground

Deactivate - deactivates a form, bringing it to the background.

Syntax

Form.Activate( )

Form.Deactivate( )

Description

Activate causes the currently selected component to be activated as if it were clicked.

Example

Form test

Ocx Command cd = "Deactivate", 10, 10, 100, 22

Do

Sleep

Until Me Is Nothing

 

Sub cd_Click

test.Deactivate

EndSub

See Also

Form, GotFocus, LostFocus, SetFocus, Activate, Deactivate

{Created by Sjouke Hamstra; Last updated: 23/09/2014 by James Gaite}