Example: sapgui_tree_double_click_itemTree Functions

Double clicks an item in tree.

int sapgui_tree_double_click_item( const char *description, const char *treeID, const char *nodeKey, const char *itemName, [args,] LAST ) ;
description User entered text to aid in understanding script
treeIDObject ID Strings
nodeKeyObject ID Strings
itemNameObject ID Strings
argsOptional Arguments, often including Dynamic Tree Node Keys.
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

sapgui_tree_double_click_item emulates a user double clicking on an item in a tree. If the item is a link the target opens: if a command, the command executes.

The item must be selected before you can call sapgui_tree_double_click_item.

Return Values

This function returns LR_PASS (0) on success or LR_FAIL (1) on failure.


You can parameterize all string (char type) arguments.