Parameter in menu toolbar button

Is there a way to add a parameter (like in sc_redir) in a toolbar button of a menu application.
(so I don’t mean adding a parameter to a menu item like described in Passing parameters to a menu link).

Found it:
Ex. 2: Use the button on the toolbar menu.
if ({sc_menu_item} == “btn_1”)
{
sc_apl_conf(“form_customer”, “start”, “new”);
}