[futurebasic] RE: [FB^3] Color text in EF... again"

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 2000 : Group Archive : Group : All Groups

From: Ken Shmidheiser <kshmidheiser@...>
Date: Thu, 10 Feb 2000 01:37:32 -0500
Al wrote about inserting colored text into edit fields in FB^3:

>Thanks for the try, but no-go.
>
>If I use TEKEY$, my app crash-n-burns. REMing out TEKEY$ works, but of
>coarse the last character is missing.
>
>For a little more detail on what I'm doing...
>
>This is a FBII converted app. The window and it's EF's were created in PG.
>The EF's are static and empty. When the window is opened I dump the text
>into the EF's. The text is being placed into the EF's... but not with the
>font/color I want. As I said before, the code worked in FBII. Also, the
>text's font/size differs when the window is opened and text placed in the
>EF. One time it's monaco 10, the next it might be geneva 9 (plain), the next
>maybe geneva 10 (bold).


Al,

In your window initialization function, I assume you have the edit 
field IDs prefixed with a "-" (minus sign) to allow for styling. Is 
that correct?

Ken