Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe objects - I'm confused
Message
From
08/05/1998 01:53:30
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097869
Message ID:
00097928
Views:
25
Hi Bill ---

>>>I have built a form with a 5 page pageframe. I have put objects on page 1 of the pageframe which are fields bound to a table. I have put one of the key fields on the top of the form outside of the pageframe which i use to search for a particular record. As the searched record is displayed, I want to go to the objects on page one of the frame and edit them. . . but. . . I can't get there. When I display the tab order, the objects on the page are not in the tab order. Do I HAVE to use a navigation toolbar to access these fields or did I do something wrong with the order of objects that precludes me from accessing them?
>>>


Two different problems here. To SetFocus to a control on page 1 of the pageframe, you need to properly address the heirarchy of containers and controls. Something like "THISFORM.pgfPageframe.Page1.TextBox.SetFocus()". As to the Tab Order...when you hit the View/Tab Order in form design, you're only going to see form level controls have an order number. Your pageframe will be assigned just one number. If you want to set the order of controls within a pageframe, you have to right click on the pageframe, choose "Edit", and THEN use the View/Tab Order menu option to see the relative Tab Order of controls on that page.

HTH

John
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform