The information about the TabStop and TabIndex I pretty much knew already except the part about setting the first one to zero. On all of our screens, the first field had the lowest number but none of them were zero. I changed the first one to zero and sequentially renumbered the rest of the fields. Where we are having problems now is with getting the application to recognize clicking either the Center key, the Enter key or the thumbwheel. Some fields recognize it and others don't. Some of the fields that don't recognize it are the fields with date pickers. Any suggestions? I inherited this application from another programmer and am also having a problem with an Input box that was set up to accept information that will be entered into a Notes field. Once I get into the input box I can't get out unless I turn off the phone. It is a basic Input Box with an 'okay' and a 'cancel' button. Any suggestions on how I can get the Input Box to recognize the tab key so I can click the okay button? Thanks in advance
Quote:
Originally Posted by cerulean47 http://81.149.78.146/Appforge/default.asp
The information about the TabStop and TabIndex I pretty much knew already except the part about setting the first one to zero. On all of our screens, the first field had the lowest number but none of them were zero. I changed the first one to zero and sequentially renumbered the rest of the fields. Where we are having problems now is with getting the application to recognize clicking either the Center key, the Enter key or the thumbwheel. Some fields recognize it and others don't. Some of the fields that don't recognize it are the fields with date pickers. Any suggestions? I inherited this application from another programmer and am also having a problem with an Input box that was set up to accept information that will be entered into a Notes field. Once I get into the input box I can't get out unless I turn off the phone. It is a basic Input Box with an 'okay' and a 'cancel' button. Any suggestions on how I can get the Input Box to recognize the tab key so I can click the okay button? Thanks in advance
This is the new go-to place for AppForge questions.
The short answer to your question is to make sure that your controls have their TabStop = True and set the TabIndexes in order from 0 to n, with 0 being your topleftmost control, increasing to the right and down.
The control with TabIndex = 0 should get the focus when the form is first loaded.
Set TabStop = False for any control you don't want to have focus. |