Project

General

Profile

Added in 1.9.6

$bname

Returns the Toolbar button name during a menu event.

Example

; Open a custom window.
/window @Example

; Add a toolbar button named Example and associate it with the custom window @Example.
//toolbar -a Example "Hello World!" $qt($adiircexe) @Example

; Add a menu for @Example to remove the Toolbar item based on $bname.
menu @Example {
  $iif($bname,Remove):toolbar -d $bname
}

Updated by Per Amundsen over 2 years ago · 1 revisions

Also available in: PDF HTML TXT