Sylvain,
Elyse took these questions over to the .NET forum. See Thread #
1020958 and my reply, Message #
1020971. For the first question about setting focus, the question wasn't so much *what* method to use, as to *where* to call it from.
~~Bonnie
>>I'm migrating an app from VFP to .NET. I'm new to .NET and want to know how I can do some things that were so simple in VFP.
>>1. Upon opening a form, I want the cursor to go to a specific field, not necessarily the first in the tab order. In VFP I called the SetFocus from the form's init. How do I do it in .NET?
>
>
You call the Focus () method of the control you want the set the focus to.>
>>2. How can I retrieve a field's default value from the SQL server database?
>
>
Don't know.>
>>Is there a good site like the UT to get answers to .NET questions?
>
>
Here and www.gotdotnet.com