Salesforce

LastClicked (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

LastClicked (Magic xpa 4.x)

Returns the name of the last clicked or right-clicked control provided in the Control Name property.

Syntax:

LastClicked()

Parameters:

None

Returns:

The name of the last clicked control.

Note:

The function will not return the name of the last clicked Subform control.

If you are trying to execute some code based on which control the user clicked on, you can also do this by adding the On field to the Click event as shown in the image below.


Prerequisites:

The control must have a control name, or nothing will be returned.

See also:

LastPark

How Do I Retrieve the Name of the Control the User Clicked On?

The Online and Rich Client Samples projects (program EL13 and REL13)

Since version:

Right-click support – since version 3.3

Reference
Attachment 
Attachment