Solved

Cursor position

Posted on 1998-07-15
2
209 Views
Last Modified: 2012-05-04
This one should be  easy.  How do i get the current location of the selected text in a textbox.  I need to know the begining and ending locations of the selected text. I'm looking to put it in the lossfocus event.
0
Comment
Question by:hess
2 Comments
 

Author Comment

by:hess
Comment Utility
Edited text of question
0
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 10 total points
Comment Utility
Use the .SelStart and .SelLenght properties
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now