Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tabindex with a pageframe
Message
From
25/10/2005 12:24:42
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01061660
Message ID:
01061917
Views:
11
>>>I have a container that has three fields, and then a pageframe. The top three fields are the main customer information. Focus is first set tot he customerfield1. I have just recently added customerfield3. From customerfield1 you tab to customerfields2, and then no matter what i do, I can not get customerfield3 to be the 3rd tabindex. I have renumbered every field, but the pageframe always renumbers. The tabindex=1 on the pageframe comes after the customerfield2. It seems that because the customerfield3 was the last field added, and it is after the pageframe on the property sheet, that I can not get it to be fields on the page frame
>>>
>>>Any ideas?
>>>
>>>Brenda
>>
>>You have to be in "edit mode" for the pageframe, and select the page before you try to set the tab order for those controls. Your third textbox is on the page, isn't it? Look in the property sheet pulldown to make sure just where the object lives.
>
>
>My customerfield3 is on the container, not the page. I set the tabindex for the three customerfields that are on the container, then I set the tabindex for the field that are on the page. Everything works great ... except the new customerfield3, which is on the container and not on the page - does not get tabbed to.

You do have your container as being tabable, don't you? The container must have .TabStop = .t. to work (same for the TextBoxes in it). Also check to make sure you don't have some When code on the TextBox or maybe GotFocus code on the Container or the TextBox that's preventing access.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform