[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: Brian Stevens<brilor@...>
Date: Wed, 22 Sep 1999 19:08:18 -0700
Thanks to everyone for all your generous help.  The following simple code
does the job.

Thanks again!  Brian

x$ = "plain"
EDIT$(_Field) = x$
EDIT FIELD _Field,,,_noFramedNoCR 	'make it editable
SETSELECT 0,32767			'select all the text
EDIT TEXT,,_boldbit%,,-1,0,0 		'change it---in this case to bold & red
SETSELECT 0,0			deselect all the text
EDIT FIELD _Field,,,_statNoFramed 	'return the edit field to static
EDIT FIELD #0			'deselects to remove insertion point