View Single Post
  #8 (permalink)  
Old July 26th, 2004, 03:53 PM
marcostraf marcostraf is offline
Friend of Wrox
 
Join Date: Jun 2003
Location: Alameda, ca, USA.
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Your suggestions are correct.
The focus is by default on the component with the lower tabIndex, thus some code must be added in cases where the default is not the right choice.
I did not like your second suggestion (although it works) because I prefer not to call Me.Show in a Load event, in case the form must be loaded but not shown (or shown later)

Marco

Quote:
quote:Originally posted by Birger
 Please enlighten me! What's the problem with the two suggestions I made. I might miss something important.

Serrano, I can't make the 'Me'and 'SetFocus' work in VB.NET. Should it?

;)
Reply With Quote