focus

  • Thread starter Thread starter selen
  • Start date Start date
I am using web Application.Windows application has a method focus but I
iletide þunu yazdý said:
When I Write TextBox1. it doesnt contain a definition Focus().Must I call a
class??
 
selen said:
When I Write TextBox1. it doesnt contain a definition Focus().Must I call a
class??

System.Windows.Forms.TextBox derives from TextBoxBase that derives itself
from Control, and it does have a public Focus() method.

bye
 
Are you sure it's not textBox1. (lower case initial t)
You call the instance, not the class and tell it to "take focus".
 
I am sure I change its name to txtAdi.It hasnt focus() met hod in web
application.


"Morten Wennevik" <[email protected]>, iletide sunu yazdi
Are you sure it's not textBox1. (lower case initial t)
You call the instance, not the class and tell it to "take focus".
 
For a web application I think you need to use javascript and it's focus()
method.
 
Back
Top