So here is what I want to do. Since the operator won’t have access to a keyboard or mouse. I want the operator change the date on the spinner to date month, day, year, hour, min and secs by moving the cursor to left and rigth to the front of the string and tap on the spinner up/down button . Like, for example: " xx/ <cursor | > 27/xx/ ".
I migth need to make some scripting on buttons and the spinner. Probably something with
setCaretPosition(), might be usefull. I already binded the spinner to the calendar and works correctly but only changes month because default position of the cursor is at the beginning of the string. I want to have that extra facility to move the cursor with the buttons.
I already made a Custom Property (int) that counts from 0-17 up or down (length of the string inside the spinner) that is controlled by buttons right and left. I just need to tell the cursor inside the spinner string to set at 0-17 position. How can I do it?
I will be very grateful to hear some ideas. Thanks. (Sorry for bad English)