Page.GetFocus

string Page.GetFocus (

)

Example 1

object_focus = Page.GetFocus( );

Determines which object currently has focus and stores it's name in the variable "object_focus." If no object has focus at that time, the page name will be stored.

See also: Related Actions