Re: Where do you put it

Chris Bordeman <[email protected]> Tue, 4 Dec 2007 12:36:03 -0600
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <[email protected]>
Try in Show instead of Load.

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

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
>