[futurebasic] Re: [FB] [FB^3] Can't get TEXT and COLOR to work on EFs

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: "Pete" <furbies@...>
Date: Tue, 21 Sep 1999 19:48:22 +1000
> Hmmmm -- the above code doesn't work in FB^3.  Docs say that Edit Text
> applies the text characteristics to text which is currently selected.  Since
> text in a static field can't be selected, it follows it won't work on static
> fields.
>
> What ye say Rick Brown?

to get the selected text:
selStart = {[activeEFhandl&]+_teSelStart}
selStop  = {[activeEFhandl&]+_teSelEnd}


to select text without the flash etc:
%[activeEFhandl&]+_teSelStart, selStart
%[activeEFhandl&]+_teSelEnd, selStop

hth

Pete...