473,397 Members | 1,974 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,397 software developers and data experts.

Retrieving numbers from TextRange?

Hi,

Person A has $60,000 person B has $70,000 and this sentence now ends.

If a user clicks on the "000" of the $60,000, is there any way to
associate that with the entire monetary unit $60,000?
TIA,

Steve
Jul 23 '05 #1
1 1099

Use the .expand() method for the TextRange object upon the event,
TRobj.expand('word'); the 'word' argument is to expand it up to the
surrounding blank chars, used as Word delimiters.

Danny
On Sat, 04 Jun 2005 18:08:11 -0700, Steve <no****@nomail.com> wrote:
Hi,

Person A has $60,000 person B has $70,000 and this sentence now ends.

If a user clicks on the "000" of the $60,000, is there any way to
associate that with the entire monetary unit $60,000?
TIA,

Steve


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jesse | last post by:
I'm trying to read numbers from a string with the format '(1,2,3,4,5)'. Each number needs to go into the array, number. If the input string is not formatted as above, an error message will be...
6
by: sentinel | last post by:
Hi, I’m trying to modify a DHTML editor that parses a style-sheet via PHP and instead of modifying the tags via execCommand(), find a way of writing inline styles by way of adding <span style=>...
1
by: gm1974 | last post by:
Hi all, in a DHTML Editing control (MSIE), I need to "extend" the caret to the nearest text character in order to obtain a text selection (and than a textRange object with the createRange...
3
by: ocomet | last post by:
Hi Everyone.. I want to know how can I use regular expression in TextRange Object. I wrote specific word highlighting code and it is working now. but this is static word highlighting. I...
1
by: Terry Olsen | last post by:
Does anyone know how to retrieve the system serial number? I'm writing an auditing program and need to grab that little bit of info. Thanks!
0
by: Andy | last post by:
Hi All. I'm working for a company that has set out a guideline for retrieving data from a database. Nobody can explain to me the reason for the following. When retrieving a set of records...
3
by: iheartvba | last post by:
Hi Guys, thanks for the great work you are doing I am working on a database in MS Access and am trying to bring up the last receipt number in the recordset (its the primary key of the recordset)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.