PC Review


Reply
Thread Tools Rate Thread

Cursor position in TextBox

 
 
Doug Bell
Guest
Posts: n/a
 
      24th Aug 2005
Hi,
How do I get the position of the cursor (as character position) when it is
in a text box with no text selected?

Thanks

Doug


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      24th Aug 2005
"Doug Bell" <(E-Mail Removed)> schrieb:
>I just found that TextBox.SelectionStart will show Cursor Position even if
> text is not selected.


The input mark is actually not called cursor. It's instead called caret.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
 
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 in textbox raju Microsoft Access Form Coding 1 4th Sep 2006 02:34 PM
>> Cursor Position in textbox =?Utf-8?B?Sm9uYXRoYW4=?= Microsoft Access Form Coding 6 11th May 2006 06:03 AM
Textbox Cursor Position Will Lastname Microsoft ASP .NET 1 14th Sep 2005 07:21 AM
Textbox cursor position Tom Microsoft VB .NET 2 20th Feb 2004 03:05 PM
Position of Cursor in Textbox Gene Hubert Microsoft VB .NET 2 24th Oct 2003 10:23 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:52 AM.