Re: Where do you put it

Steve Abaffy <[email protected]> Tue, 4 Dec 2007 12:34:53 -0600
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <09ac01c836a4$5ccaf340$1660d9c0$@biz>
That did it. Thanks

-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps and
controls [mailto:[email protected]] On Behalf Of Phil
Sayers
Sent: Tuesday, December 04, 2007 12:22 PM
To: [email protected]
Subject: Re: [DOTNET-WINFORMS] Where do you put it

have you looked at the TabOrder property of your textbox?
setting it to zero may get you there.



-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps
and controls [mailto:[email protected]]On Behalf Of
Steve Abaffy
Sent: Tuesday, December 04, 2007 1:04 PM
To: [email protected]
Subject: [DOTNET-WINFORMS] Where do you put it


Hello,

        This might be a stupid question, but I want a textbox to get focus
when MDIchild form opens, so I put txtFindCustomer.Focus() in the Load event
of the form but it doesn't work. Where does it go? Or is not the way to do
this?

Thanks