0 Members and 1 Guest 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