0
votes

Please the problem i am facing now is that, i want to create two buttons to scroll text in an input box left and right using lua, especially when part of the text is hidden in the input box. I know this can be done using the left and right arrows on the keyboard, but what i need is how to do this in a custom way, using one button for left and one for right. Actually, i don't know if i should even say how to control cursor movement using two buttons in a form of a scrollbar. However, which ever way it's clear, how can i do this in lua language, after the buttons have been created please?

1
As the base Lua language has no support for gui interfaces, it would help to know what environment you are using Lua in, for example WOW or Corona or something else.Jane T
@ Jane: Please, i'm using the personal edition of autoplay studio, so please help me out.user1421716
@ Jane T: Please, i'm using the personal edition of autoplay. Thanksuser1421716
Sorry Autoplay is not one I have come across. You may be best looking at the controls available on your input box as I have not seen a way to do what you are looking for on standard windows controls.Jane T

1 Answers

1
votes

Maybe take a look at IUP. It's dedicated Lua GUI library, and it certainly have functions like this.