borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Storing of infos and scrolling in label *urgent!)Next Topic (Greater Understanding of  Vb.net & ASP.NET) New Topic New Poll Post Reply
AndreaVB Forum : VB.Net : Form Focus
Poster Message
hanglam
Level: Trainee

Registered: 22-12-2006
Posts: 1

icon Form Focus

hi all,

i have a Windows Form with a bunch of texboxes and combobox in it .
When i'm running the app and filling out the form , I want to click on the form itself so no control has the focus . I thought by click on the form itself will make all controls lose the focus , but somehow that is not the case and last control used still has the focus .

is this a bug or am i missing something here , do i need to set a property in the form ?

is there a way to make the form gain the focus so that no controls has the focus ?

thanks,
hang

22-12-2006 at 04:17 AM
View Profile Send Email to User Show All Posts | Quote Reply
Nick2k3
Level: Big Cheese

Registered: 23-11-2003
Posts: 23
icon Re: Form Focus

quote:
hanglam wrote:
hi all,

i have a Windows Form with a bunch of texboxes and combobox in it .
When i'm running the app and filling out the form , I want to click on the form itself so no control has the focus . I thought by click on the form itself will make all controls lose the focus , but somehow that is not the case and last control used still has the focus .

is this a bug or am i missing something here , do i need to set a property in the form ?

is there a way to make the form gain the focus so that no controls has the focus ?

thanks,
hang


Try setting all your controls' tabs stops to False


____________________________
Error 404 ...File not found...!!!!
02-01-2007 at 04:47 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : VB.Net : Form Focus
Previous Topic (Storing of infos and scrolling in label *urgent!)Next Topic (Greater Understanding of  Vb.net & ASP.NET) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder