Tabbing into an @ GET
Posted: Mon Dec 10, 2007 1:16 am
Hi Antonio
If I have a dialog containing code such as
LOCAL test1 := SPACE( 4 )
LOCAL test2 := SPACE( 4 )
@3,1 SAY "Test1"
@6,1 SAY "Test2"
@3,11 GET test1 OF dlgTEST
@6,11 GET test2 OF dlgTEST
Then when the dialog starts up the cursor goes to the start of the first get, but when I use the tab key to go to the second get the cursor goes to the end of that get and in order to enter anything the user has to hit the [Home] key or use arrow keys, the [back space] key or click the mouse. This has the effect of significantly slowing down data entry. When users use mouse clicks as an alternative they tend to leave leading spaces in the entered data. It would be highly preferable for the cursor to go either to the start of the field or the end of the nonblank data currently in the field. I note that this currently happens with the PASSWORD option. The code to implement that might possibly suggest how the above could be achieved. Maybe even suggest how the problem of the selection changing when tabbing into a LISTBOX can be overcome.
Thanks
Doug
(xProgrammer)
If I have a dialog containing code such as
LOCAL test1 := SPACE( 4 )
LOCAL test2 := SPACE( 4 )
@3,1 SAY "Test1"
@6,1 SAY "Test2"
@3,11 GET test1 OF dlgTEST
@6,11 GET test2 OF dlgTEST
Then when the dialog starts up the cursor goes to the start of the first get, but when I use the tab key to go to the second get the cursor goes to the end of that get and in order to enter anything the user has to hit the [Home] key or use arrow keys, the [back space] key or click the mouse. This has the effect of significantly slowing down data entry. When users use mouse clicks as an alternative they tend to leave leading spaces in the entered data. It would be highly preferable for the cursor to go either to the start of the field or the end of the nonblank data currently in the field. I note that this currently happens with the PASSWORD option. The code to implement that might possibly suggest how the above could be achieved. Maybe even suggest how the problem of the selection changing when tabbing into a LISTBOX can be overcome.
Thanks
Doug
(xProgrammer)