setFocus

  • Thread starter Thread starter Radith Silva
  • Start date Start date
R

Radith Silva

HI TO ALL:

What happen to the setFocus method from VB 6.0

I have a code:
With txtName
.Text = ""
.setFocus

VB.NET don't read it.
What is the alternative???

Thanx in advance

Radith Silva
(e-mail address removed)
 
Hi Radith,

Try what it does for you in the activated event from the form?

textbox1.focus()

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Copyright Symbol 3
How to make the text 'Bold' 6
Locating objects??? 1
How Long?? 2
Very New...Ezy Question??? 4
How to Line Break 10
IsNumeric..?? 3
Why Not.....?? 1

Back
Top