>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