Indigo Rose Software
  #1  
Old 01-06-2008
pjborg's Avatar
pjborg pjborg is offline
Forum Member
 
Join Date: Feb 2001
Location: Washington State
Posts: 120
Rich Text Object Suggestion

The RichText.FindText action returns the start and end positions of the match.

I think a corresponding RichText.ScrollToPosition action would be useful.

Unless I'm mistaken, there doesn't seem to be a way to do that.

Thanks,
pj
Reply With Quote
  #2  
Old 01-07-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Thanks for the suggestion, I've submitted it to be considered. REF: 17112

Depending what you are trying to do, you may find that the "RichText.SetSelection" action is useful in this situation, however that is really only if you are looking to highlight the word versus just having it in view.
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
  #3  
Old 01-07-2008
pjborg's Avatar
pjborg pjborg is offline
Forum Member
 
Join Date: Feb 2001
Location: Washington State
Posts: 120
Yes, the "RichText.SetSelection" action is a bit different than what I had in mind.

It seems that you might be able to have the "RichText.FindText" action return the line number as well as the start and end positions. Then there would be no need for a new action.

Thanks.
Reply With Quote
  #4  
Old 01-08-2008
Darryl's Avatar
Darryl Darryl is offline
Indigo Rose Staff Member
 
Join Date: Jul 2001
Location: Indigo Rose Software
Posts: 1,602
Yes, you're right. I'll update the info with that particular suggestion.
__________________
Darryl
Indigo Rose Corporation

Product Guides: AMS70 | SUF80 | TU30 | VP30 |MSIFACT |DeltaMAX
Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rich Text Document Object in AMPS bule AutoPlay Media Studio 6.0 6 09-10-2006 11:40 AM
Example: Loading Paragraph Text Using a Timer Jonas DK AutoPlay Media Studio 5.0 Examples 7 11-25-2004 06:10 PM
INFO: Difference between the Media Player Object and the AVI Object Support AutoPlay Media Studio 4.0 Examples 0 10-29-2002 03:15 PM
HOWTO: Display Conditional Text Based Upon a List Box Selection Support AutoPlay Media Studio 4.0 Examples 0 10-15-2002 11:54 AM
TUTORIAL: Showing and Hiding Objects in AutoPlay Menu Studio 3.0 Support AutoPlay Menu Studio 3.0 0 10-10-2002 03:39 PM


All times are GMT -6. The time now is 07:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software