Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot tab to a combo box in add mode (added)
Message
From
25/02/2004 14:21:10
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00880559
Message ID:
00880813
Views:
13
Thanks to everyone who responded. I finally found it. The original programmer has
Thisform.fieldname.setfocus()
in most of the lost focus methods. This is why setting the "Tab Order" did not work.

Want to let you all know what the real problem turned out to be.


>This usually means you have more than 1 object with the same tab order value. Since you have visually checked to see this is not the case, you need to look through the method code to see if the TabOrder is being set. To do this easily, open any method in the form or in an object on the form. Hit Ctrl + F [to find], search for TabOrder and click the option to search all objects methods.
>
>>I did not write the orignal code. Is there something that would force tab orders (I did find code to force tab to start at first field, but do no see anything that would skip over a new filed the first time tab throught the file. There are valids for specfic fields that required data be entered). To repeat myself this what happens.
>>
>>1. click on add button
>>2. enter data for fileds 1 to 7 (6 and 7 are drop down lists that work as expected).
>>3. tab to what should be be field 8, 1st time field 8 is skipped and cursor goes to field 9.
>>4. If I enter rest of required data and then tab through fields 1 to 7 and then to field 8 it works.
>>
>>Totally confused!!!
Previous
Reply
Map
View

Click here to load this message in the networking platform