473,396 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1354
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

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

Similar topics

2
by: Bettina | last post by:
I have a text field and I want that after I enter a text in this text field, the focus goes to the button.gif. How can I do it? Any ideas? I know that when you use an input type="submit", the focus...
9
by: Roger Withnell | last post by:
Tearing hair out time! Simple attached page shows the problem. http://www.brilley.co.uk/TestFocusSelect.htm Using a function to test if too many characters have been keyed in to a textarea....
5
by: tshad | last post by:
I have a date validation function that I want to stay at the object I am validating if there is a Validation error, but it always goes to the next object. The Javascript: function...
17
by: Neil Ginsberg | last post by:
OK, this is a stupid thing, but I can't seem to get this to work. I have a form with a subform (in continuous form view). A combo box on the main form has code in the AfterUpdate event which adds a...
4
by: SJ | last post by:
Hi all, I have come across a weird problem when attempting to automatically set the focus in a vb.net form to a checkbox control... In my form I have (on a tab page in a tab control) several...
5
by: annagel | last post by:
I am looking for a way to force a Tkinter window into focus on a system level. I know the force focus method should bring one window of my application into focus, but it seems I need to have some...
3
by: jab3 | last post by:
Hello. I"m new to this group, and to JavaScript in general, so please forgive me if I breach local etiquette. I'm trying to implement some client-side 'dynamic' validation on a form. I'm having...
2
by: shajeel | last post by:
Hi, i m having a problem getting the focus on the form, i m starting two form one after another, here is the sequence. first is splash second is dialog taking values main() { Start new...
3
by: BK | last post by:
I've created a small calculator that will pop up on demand within a form. The calculator is working fine, but I'm having a focus problem. The calculator looks almost identical to the Windows...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.