AutoPlay Media Studio 9

Page.GetFocus

Page.GetFocus

Previous topic Next topic  

Page.GetFocus

Previous topic Next topic  

OverviewExamples

string Page.GetFocus (

)

Description

Returns the name of the object that currently has focus.

Note: Focus can only be returned for the following object types: QuickTime, xButton, CheckBox, RadioButton, Input, ComboBox, ListBox, Tree, Grid, and RichText objects. It may also apply to various types of plugin objects that support focus.

Parameters

None.

Returns

(string) The name of the object that currently has focus. If no object has focus or an error occurs, a blank string "" is returned. You can use Application.GetLastError to determine whether this action failed, and why.

ResultVariable

When adding an action with the script editor, you can use this field to specify a variable that the return value will be stored in.

See also: Related Actions


Learn More: Indigo Rose Software - AutoPlay Media Studio - Buy Now - Contact Us