0 Members and 2 Guests are viewing this topic.
menu = { {"Mode", -- Tool box "Mode" {"Decimal", setDec}, -- Menu item "Decimal" calls function setDec() {"Hexadecimal", setHex}, {"Octal", setOct}, {"Binary", setBin} }} toolpalette.register(menu)function setDec()endfunction setHex()endfunction setOct()endfunction setBin()end