[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: pochas <pochas@...>
Date: Mon, 20 Sep 1999 21:34:54 -0400
>> Try this: 
> > 
> > LOCAL FN blue(efNum%) 
> > EDIT FIELD efNum% 
> > EDIT TEXT 3,9,0,0,0,0,-1 
> > END FN 
> > 
> > WINDOW 1 
> > EDIT FIELD -1, "", (10,10)-(100,50),_statNoFramed 
> > EDIT$(1) = "Howdy" 
> > FN blue(1) 
> > SETSELECT 0,0 
> > DO 
> > HANDLEEVENTS 
> > UNTIL 0 
> > 
> > You have to define the field with a negative id, activate it with the 
> > edit field 1 statement, then use the edit text statement to set the color. 
> > 
> > Hope this helps. Charles P. 

> Change the field to an editable type (e.g. _Framed). Won't work on a static 
> field. 

>--
> Scott Spencer

Oh yes it does work with static fields --- in FBII  at least.    Charles P.