Returns the node that was last clicked by the user. Read-only, runtime property.
object.LastClickedNode = [node object]
Where object is an object expression that evaluates to one of the objects in the Applies To list, and node object is the node that the user last clicked.
Newlook Smartclient only.
This property is useful if you want to identify the node that was last clicked by the user. This property returns the node object, therefore you can also return any property (such as the Text, ParentNode, Checked, Expanded or Selected property) of the last clicked node. If no nodes have been selected by the user or an invalid node has been selected then this property will be null.
The following example assigns the text of the last node clicked by the user to a global Newlook variable.
function GetLastNodeSelected()
{
//Get the node that the user last selected and store it as a global Newlook variable.
vLastNodeClicked = App.ActiveForm.tvOrgChart.LastClickedNode.Text;
App.SetValue("LastUserNodeClicked", vLastNodeClicked);
}
OnClick property | LastItemClicked property | GetFirstVisible method | EnsureVisible method
© 2004-2021 looksoftware. All rights reserved.