Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setfocus not working

Status
Not open for further replies.

praveensg

Programmer
May 15, 2002
26
0
0
GB
hi there
when i call a textbox's setfocus property it is not getting the focus...before that im using a msgbox()...it that a problem..
thanq
 
Can you post your code and some more details. I did this with 3 text boxes and a command button and it works fine.

Private Sub Command1_Click()
MsgBox "Prompt"
Text3.SetFocus
End Sub

Anything is possible, the problem is I only have one lifetime.
[cheers]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top