General information
Category:
Coding, syntax and commands
Hi.
I have a Form which has on it:
TabControl1
btnAdd
TabPage1
...grdGrid1
TabPage2
...txtName
In My btnAdd, I want to set focus to the txtName control on Page two.
Intellisenese allows (on the AddButon Click): this.txtName.Focus(); but it does not set focus
In VFP , I would do someting like:
Thisform.TabControl1.TabPag2.txtName.SetFocus()
Anybody know correct syntax for this in c#
Thanks in advance.
Gerard
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only