Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jirí Bureš
  Where is Jirí Bureš?
 Prag
 Czech Republic
 Jirí Bureš
 To: Rick C. Hodgin
  Where is Rick C. Hodgin?
 Indianapolis
 Indiana - United States
 Rick C. Hodgin
 Tags
Subject: RE: RichText - position in the text
Thread ID: 373635 Message ID: 373637 # Views: 47 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Windows 7 and VFP
Date: Sunday, March 24, 2013 4:10:08 PM         
   


> > Anybody got any idea how to find a position in an RTF file. If the text click on any place in the text so this place (eg beginning of a word) found using SELSTART but how do I know where the word begins in RTF "code" when you insert sequences of course, thanks for the format, etc., the initial position of other words. Thank you for your answer
> > J. Bures
>
>
> [snip] I didn't understand your question correctly when I initially responded.
>
> Best regards,
> Rick C. Hodgin


For example, if I {\field{\fldrslt \plain \f1\ul\fs20\cf11 This is my link}} the object appears in the RichText This is my link and THIS is the starting position to the first position in the code but RTF is this starting position to 42 position. selstart returns position 1 but how fathom position 42?

J. Bure

ENTIRE THREAD

RichText - position in the text Posted by Jirí Bureš @ 3/24/2013 3:42:44 PM
RE: RichText - position in the text Posted by Rick Hodgin @ 3/24/2013 3:58:25 PM
RE: RichText - position in the text Posted by Jirí Bureš @ 3/24/2013 4:10:08 PM
RE: RichText - position in the text Posted by Emerson Reed @ 3/25/2013 1:01:32 PM
RE: RichText - position in the text Posted by Cetin Basoz @ 3/25/2013 1:10:51 PM