<OBJECT>.ACTIVATE()

Syntax

<OBJECT>.ACTIVATE()

Description

The <OBJECT>.ACTIVATE() method applies to:

The <OBJECT>.ACTIVATE() method sets focus to the object.

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only.

Example

To set focus to the Address field on the Sales form:

:Sales:Address.activate()

To set focus to the Sales form:

:Sales.activate()

This code attached to the OnPush event of a button on a form sets focus to the Address field:

parentform:Address.activate()

See Also

Form Functions and Methods, Browse Functions and Methods