Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Find the position of the cursor in an EditorPane

Posted on 2003-10-21
5
Medium Priority
?
244 Views
Last Modified: 2010-04-17
is there a way to get the current position of the cursor in the (html) document being displayed by an EditorPane ???

thanks,

dn
0
Comment
Question by:duydien
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 1000 total points
ID: 9597444
<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--

function document_onmousemove()
{
window.text1.value="X="+window.event.clientX+" Y="+window.event.clientY


}

//-->
</SCRIPT>
<SCRIPT LANGUAGE=javascript FOR=document EVENT=onmousemove>
<!--
 document_onmousemove()
//-->
</SCRIPT>
</HEAD>
<INPUT type="text" id=text1 name=text1>
<BODY>

<P>&nbsp;</P>

</BODY>
</HTML>
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 10321809
Accept answer by bhagyesht
Bhagyesh Trivedi
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Simple Linear Regression
Progress

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question