Re: Where do you put it
John Warner <[email protected]> Tue, 4 Dec 2007 13:32:42 -0500
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Organization | John Warner |
| Message-ID | <00ef01c836a4$0f4ed460$4d02a8c0@Pluto> |
That's an idea, if that fails alternately set the label for the textbox tab order to zero and the textbox to one, but only if Phil's idea doesn't work. John Warner > -----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 1: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 >