Functionwm_addbuttontotoolbar

Defined in: pbwword

public subroutine wm_addbuttontotoolbar (string arg_toolbar, string arg_name, long arg_id, string arg_tooltip, string arg_bmp)

Comment:
Add a button to a tooolbar
arg_toolbar = existing toolbar name
arg_name = button name
arg_id = button id, use 0 to add a new button, if you know the id of an existing button you can use it
arg_tooltip = button tooltip
arg_bmp = button image


Script:
public subroutine wm_addbuttontotoolbar (string arg_toolbar, string arg_name, long arg_id, string arg_tooltip, string arg_bmp);
i_PBWWord.AddButtonToToolbar(arg_toolbar,arg_name,arg_id, arg_tooltip, arg_bmp)
end subroutine