Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto SetFocus
Message
From
23/08/1999 05:34:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
23/08/1999 04:53:50
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00256480
Message ID:
00256486
Views:
16
>In VFP3.0, the first control contained within a Page object can receive the focus automatically when a page is activated, but 5.0/6.0 cannot.
>
>How to acheive the same effect in 5.0/6.0?
Unfortunately not so cheap. You locate the first setfocusable control and set focus to it. Doing that you take into account not only its taborder but if it's enabled or not as well. Remember if it's a grid it's wise to setfocus to its first column.
For a quick, nonsmart way you can also use "keyboard [{TAB}]".
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform