PC Review


Reply
Thread Tools Rate Thread

Automatic cursor position

 
 
Tony
Guest
Posts: n/a
 
      2nd Jul 2008
If I click to some button I want that cursor automatic point to TextBox1.
How to do that? Is it possible in C#?

Thanks


 
Reply With Quote
 
 
 
 
Bjørn Brox
Guest
Posts: n/a
 
      2nd Jul 2008
Tony skrev:
> If I click to some button I want that cursor automatic point to TextBox1.
> How to do that? Is it possible in C#?
>

Don't...
Personally I hate programs that take control over my cursor position or
windows order.

In your case setting focus to TextBox1 would probably solve your
problem, if it is redirecting keyboard input to your text box which is
your main target. (TextBox1.Focus = true)

--
Bjørn Brox
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cursor position =?Utf-8?B?TWFya1Q=?= Microsoft Excel Misc 5 7th Feb 2007 01:25 PM
Re: Cursor.Position Stoitcho Goutsev \(100\) Microsoft Dot NET Framework Forms 0 22nd Jan 2007 03:47 PM
Cursor Position Paul Microsoft VC .NET 1 15th Aug 2005 06:04 AM
cursor position Fan Fan Microsoft Excel Programming 3 14th Aug 2004 01:12 AM
Automatic cursor position? Mark Microsoft Excel Misc 2 27th Aug 2003 09:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:02 PM.