469,631 Members | 1,502 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

how to set focus on the form while entering values from another application.

Hi,

i am new in .net, and i am confused how to set cursor position in textbox.
I have made an application of keyboard and other application of User Info. when i run my applications then the form named User info opens. in this form i have a text box, when this textbox is clicked then keyboard opens.

But when i type a word from my keyboard application into the text box, then the cursor is disappeared.

i want some help about this problem. i want that when any key is pressed or clicked from my key board application then the Cursor should appear and move as the keys are being clicked.

waiting for ur replies.

thanks
yasir
Aug 9 '08 #1
6 1104
Hey buddy try this

pass the reference of textbox to new keyboard form and update the textbox from there ..guess you can also use
[HTML] txtInput.Focus(); [/HTML]
too...
Aug 11 '08 #2
hello,

i have made a keyboard in .net and i want that when i enter the value from keyboard in any textbox of another form, keyboard form should not get focused, the form in which i am entering values should be focused. i have used mouse hover event but it's not the solution that i want. how can i set focus using instead of mouse hover event?

any replies.........
Aug 11 '08 #3
i guess i replied on your previous post OR somewhere else??
Aug 11 '08 #4
hi yasirmturk,

yes you have replied, but that didn't work.

if u have any other sloutions then please tell me, i will be thankful to you.

thanks,
yasirkhan
Aug 11 '08 #5
Curtis Rutland
3,256 Expert 2GB
Please do not double post your questions. It clutters the forum and is absolutely pointless. If you feel that your question has been neglected, please reply to your old question. That will "bump" it back to the top of the forum. If you can't find it, look through the "My Subscriptions" link at the top of the page. If you need to add information to the question, just add it in a reply. So you see, there is no reason to make two posts.

Please read the Posting Guidelines.

MODERATOR
Aug 11 '08 #6
Can you post part of your code here?

hi yasirmturk,

yes you have replied, but that didn't work.

if u have any other sloutions then please tell me, i will be thankful to you.

thanks,
yasirkhan
Aug 13 '08 #7

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by Bettina | last post: by
9 posts views Thread by Roger Withnell | last post: by
5 posts views Thread by tshad | last post: by
17 posts views Thread by Neil Ginsberg | last post: by
5 posts views Thread by annagel | last post: by
2 posts views Thread by shajeel | last post: by
3 posts views Thread by BK | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.