Changing the Function of Buttons

Help lets you change the macro associated with a button. To change the macro assigned to a button, use the following macro:

ChangeButtonBinding("button_id", "macro")

For example, to change the Options button to jump to a topic with a context string of “option2_id” (instead of “topic1_id”), you can use the following macro:

CreateButton("btn_options", "&Options", "JumpId(`current.hlp', `option2_id')")