focussing a textbox
I do this in a form's show method:
textbox1.Focus
I have forms with imagebuttons and textboxes and in the click event of the imagebutton I use the same line
regards, Ricky
p.s I also have the textbox's text to be selected by using
txtEndKm.SelectionStart=0
txtEndKm.SelectionLength=StrLength(txtEndKm.Text)
in txtEndKm's gotfocus event