Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Focus vs UIEnabled
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00255475
Message ID:
00255477
Views:
11
Rob,
I'd set a form property to the correct control name in the button and then just set the activepage to page2. In the Page Activate() code check the form property and set focus appropriately. It works reliably in a VFP5 app, though I haven't upgraded it to 6 yet.

HTH
Barbara

>VFP 6.0
>
>I have created a multipage form with multiple command buttons on page 1. Depending on the button chosen, I want the user to go to page 2 with the initial focus on different objects. I have been using set focus connands within the click property of the command button which sets the focus to page2 and the object. This works, but not all the time, sometimes it takes them to the exact object, othertimes it just sets the focus to the page... Is there something that I need in the UIEnable code???
>
>Any Ideas..
>TIA
>
>Rob
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform