Custom Scroll Buttons for Input Text In Lua
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?
Custom Scroll Buttons for Input Text In Lua
===

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?