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 12:56:44
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00880559
Message ID:
00880785
Views:
9
I changed tab index number to 8 for other reasons but get the same results.

>1) Is it the only 9th tab

I used the "View", "tab order" to set the tab order. I do not see another tabindex set t0 8.

>2) Is TabStop True

Yest

>3) Why the space in gotfocus? How does it behave without.

It has the code
IF EMPTY(This.Value)
	KEYBOARD CHR(32)	&& Send a code as if Space bar is pressed
ENDIF
which displays the drop down list when field is entered.

>3) Make "Style" a dropdownlist.

Style is set to "2 - Drop down list"
>

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!!!
>>I added a combo box to an existing form. I set the tabs so it is the 9th object. The form has an add, edit, delete, etc buttons. When I go add mode and enter data it skips (tabs) over the new combo drop down list. If I continue entering data and data around a second time it goes to the new conbo box. The control is enabled, has select on entry, tabable, row source (type 6), a control source. getfocus has code that acts as if space was entered to display the drop down.
>>
>>Can some one point we to what may be wrong. What properties should I look at?
>>Any help will be appreciated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform