Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mixed font in memo fields?
Message
From
21/06/2000 08:29:34
 
 
To
20/06/2000 23:07:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00382523
Message ID:
00382614
Views:
18
>I have an application where it would be desirable to:
>
>(a) have mixed fonts in a single memo field
>(b) if (a) not possible, at least be able to have the same memo field of two independent records have different fonts.




I have never done this, but here are some thoughts:

(a) as you said, you'd have to use a general field and put either a Wordpad object or RTF content

(b) add another field, say "MemoFont" (you might need other fields if you want to change size, style such as bold, italic, etc.). In the Refresh method of your editbox, use something such as (not tested):

THIS.FontName = TableAlias.MemoFont

Of course, you'll probably need to allow the user to change font, so don't forget to save that fontname in the MemoFont field.
Sylvain Demers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform