[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: Alain Pastor <apastor@...>
Date: Tue, 21 Sep 1999 11:34:16 +0200

Brian Stevens wrote:

>
> Charles/Scott/Derek/David - I appreciate the help. My main difficulty is
> the edit fields I have are *static*. Changing colors or styles with
> SETSELECT on non-static fields seems to work but on static fields (as
> expected) doesn't (at least in my limited tests---prove me wrong---please).
> Since this is a PG project (and didn't create the EF with an EDIT FIELD
> -1,xx,(nn,nn)-(nn,nn)) using the edit field statement with window
> coordinates to establish a style/color is non-PG (probably could be done
> though by getting the coordinates from the window rec)
>
> Derek may be right about the bug in FB II that allowed the COLOR and TEXT
> statements to work but I don't know if TJ is to blame. The Text Editing
> section of the FB II handbook (top page 127) seems to suggest this method.
>

Brian,

I reported this behaviour on the beta list. One of my PG Project uses only Static
Edit Fields, in fact, it's almost a single window with a bunch of Static Edit
Fields. One of those must be hilighted depending on the timer. So, I used the
color statement, like it is suggested in the Handbook. This doesn't work with
FB^3. As far as I remember, Staz answered that this was not intented to work this
way  in FBII (more like a bug or something like that).
So, you must find another way to give feedback to your user.

Regards

Alain