Salesforce

HandledCtrl (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

HandledCtrl (Magic xpa 4.x)

Returns the name of the control from which the current handler has been invoked.

Syntax:

HandledCtrl()

Parameters:

None

Returns:

String – The name of the control from which the current handler has been invoked.

Note:

In a handler that was not invoked from a specific control, such as a Task, Record level handlers, or handlers in a batch task, the function returns a blank string. This function returns the name of controls that invoked the event, even if they are not parked; for example, in cases of mouseover and mouseout events.

Exceptions:

This function is not supported in Web Client tasks.

See also:

How Do I Identify from Which Control an Event Was Triggered?

The Online and Rich Client Samples projects (program LG15, IF05, RLG15 and RIF05)

Reference
Attachment 
Attachment