Re: Write Pro: programmatically manipulate text expertise needed

2018-06-21 Thread Justin Carr via 4D_Tech
On 21 Jun 2018, at 4:49 pm, Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Justin, Pat, > > Using WP SELECT that is called in a method via CALL FORM seems to work, > thanks for that! > > I must say, I can't believe it's 4D's intention that we constantly have to > us

RE: Write Pro: programmatically manipulate text expertise needed

2018-06-20 Thread Piotr Chabot Stadhouders via 4D_Tech
. Thanks again, Piotr > -Oorspronkelijk bericht- > Van: Justin Carr > Verzonden: maandag 18 juni 2018 5:00 > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > Onderwerp: Re: Write Pro: programmatically manipulate text expertise needed > > On 15 Jun 2018, at 10:01

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-17 Thread Justin Carr via 4D_Tech
On 15 Jun 2018, at 10:01 pm, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Piotr, > I think you can use WP SELECT to do this - > WP SELECT ( {* ;} wpArea {; targetObj} | {; startRange ; endRange} ) > > Let me know if you can't get that to work and I'll take a closer look at it. >

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-15 Thread Pat Bensky via 4D_Tech
en: dinsdag 12 juni 2018 13:40 > > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > > Onderwerp: Re: Write Pro: programmatically manipulate text expertise > needed > > > > Piotr, > > 1. I think you will need to use ST GET PLAIN TEXT to get all the text > after the &g

RE: Write Pro: programmatically manipulate text expertise needed

2018-06-12 Thread Piotr Chabot Stadhouders via 4D_Tech
ition in the "On After Keystroke" event of the Pro Area? Thanks, Piotr > -Oorspronkelijk bericht- > Van: Pat Bensky > Verzonden: dinsdag 12 juni 2018 13:40 > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > Onderwerp: Re: Write Pro: programmatica

RE: Write Pro: programmatically manipulate text expertise needed

2018-06-12 Thread Piotr Chabot Stadhouders via 4D_Tech
; Onderwerp: Re: Write Pro: programmatically manipulate text expertise needed > > Piotr, > 1. I think you will need to use ST GET PLAIN TEXT to get all the text after > the > specified range and then look for the first return character in that > selection. I > believe this is the only w

Re: Write Pro: programmatically manipulate text expertise needed

2018-06-12 Thread Pat Bensky via 4D_Tech
Piotr, 1. I think you will need to use ST GET PLAIN TEXT to get all the text after the specified range and then look for the first return character in that selection. I believe this is the only way to get an accurate position with styled text. 2. Again, use ST GET PLAIN TEXT to get a range of text

Write Pro: programmatically manipulate text expertise needed

2018-06-12 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, We are in the progress of migrating from 4D Write to Write Pro A lot of things are going fine, but there is one area that seems easy but I am having difficulties with it and that is programmatically manipulating text I give 2 examples that maybe seem obvious to others but are not for me: