ISProfileForm.SetFocus

Description

This function checks if the focus was successfully set to the form.

Syntax

object.SetFocus()

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface

Return Value

bool

Returns True if the focus was successfully set to the form.

Example

Set focus to the form.

Dim aForm

Set aForm = Profile.Form
aForm.SetFocus  
Note: This macro should be executed in any event handler of the form control.

Version information

Added in v7.8.0