This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
dimitriye98's profile picture

vMenu - Simple menu functions.

Started by dimitriye98, 08 September 2012 - 03:19 AM
dimitriye98 #1
Posted 08 September 2012 - 05:19 AM
[left]vMenu currently lets you make a basic menu like the one in the edit program. More menu formats will be added.[/left]

Functions


[left]vMenu.simple(tItems, noQuit)[/left]
[left]When called creates a menu which replaces the bottom row of the terminal and returns the selected entry.[/left]

[left]Arguments:[/left]

[left]tItems: An array (table with consecutive numerical values starting at one) of all the menu items.[/left]
[left]noQuit: Determines weather or not to allow quitting from the menu with CTRL, defaults to false. If allowed, quitting the menu will return a nil value.[/left]

[left]You can get it either here, or using the following command on a http enabled computer:[/left]

[left]pastebin get 1EzHXZ7S vMenu[/left]

[left]Once you have it, use os.loadApi("vMenu") to get it.[/left]
dimitriye98 #2
Posted 09 September 2012 - 03:07 AM
*BUMP*
djblocksaway #3
Posted 15 September 2012 - 04:15 PM
This is really good :)/>/>

And very helpful, hope to see some updates for it :P/>/>