Example: sapgui_set_property_of_active_objectMethod and Property Functions

Sets a property of the active object.

int sapgui_set_property_of_active_object( const char *property_name, const char *new_value, [args,] LAST );
property_nameThe name of the SAP GUI Object Properties to set
new_value The value to set property_name to
argsOptional Arguments
LAST A marker indicating the end of the argument list. Not required if Optional Arguments are used.

The sapgui_set_property_of_active_object function sets the specified property property_name, of the current active object with the value new_value. The current object is selected with sapgui_active_object_from_parent_method or sapgui_active_object_from_parent_property.

Return Values

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


You can parameterize all string (char type) arguments.