Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Focus after tabe change ?
Message
From
29/07/2000 19:55:05
 
 
To
29/07/2000 00:58:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00398428
Message ID:
00398542
Views:
19
>How to make focus to the first control of each page after tab change ?
>
>it retain the control to tab after tab change now ...

Each Page has a Controls collection - in the Activate event of the Page, you could simply issue something like:

=this.Controls(1).SetFocus()

or spin through the collection and check for the first appropriate control that's enabled.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform