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

Advanced Monitors

Started by subzero22, 06 January 2014 - 12:24 AM
subzero22 #1
Posted 06 January 2014 - 01:24 AM
I was wondering how I can get started on menus with adv monitors where you click the type of list you want? As in my right now my program you can type a selection name and it will show a list of items. But some of the lists are so long that I have to do a stop and press any key to go to the next part of the list.

Is it possible to list all the selections of the aspects on the monitor. Then the monitor pulls up the list, be able to click the monitor to continue the scroll?

like would I be able to make this somehow work on the monitor? Or would it be done some other way?

event, button, x, y = os.pullEvent("mouse_click")
Lyqyd #2
Posted 06 January 2014 - 01:27 AM
Advanced monitors trigger monitor_touch events when right-clicked. The event arguments are similar to mouse_click, though the button entry becomes the monitor side instead. See the wiki page for more details.
subzero22 #3
Posted 06 January 2014 - 10:59 AM
ah ok thanks so much.