Activates the form and gives it focus.
[Visual Basic] Public Sub Activate() [C#] public void Activate(); [C++] public: void Activate(); [JScript] public function Activate();
Activating a form will bring it to the front if this is the active application, or will flash the window caption if this is not the active application. The form must be visible for this method to have any effect.