Hello Guest it is April 25, 2024, 11:51:44 AM

Author Topic: How to use the list object on screen  (Read 502 times)

0 Members and 1 Guest are viewing this topic.

How to use the list object on screen
« on: April 23, 2022, 06:58:47 AM »
Hi guys, new user here with next to no Lua coding experience.

My machines spoilboard has a bench dog grid similar to an mft table top. This means that assuming my stock is square, I can position it against the dogs and the corner will be in a specific x and y point depending in where on the grid the stock is.

I've slready setup an auto z button for myself but I would also like to be able to go into a drop down menu and choose from a list of these known locationd on the spoilboard. When a selection is made, the x and y zero points should update.

Any advice on how I could achieve this?

Thanks

Offline Bill_O

*
  •  563 563
    • View Profile
Re: How to use the list object on screen
« Reply #1 on: April 25, 2022, 09:37:06 AM »
If you want to do some Lua just make a button on your screen not a drop down.
Here is something to help you start in the Lua.
https://www.machsupport.com/forum/index.php?topic=45397.msg289143#msg289143