Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I set txt as colour and size
Message
From
20/07/2017 07:23:24
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01652761
Message ID:
01652766
Views:
65
>How do I set the colour and size of the text? within text endtext

You don't. This is plain text, not a complex markup language. And markup languages (like rtf, postscript, html) actually don't contain color and fonts per se, only instructions for the rendering software (Word, printer driver, browser).

So you need to see where you want it displayed, and apply the syntax of the language that your display uses. If it's html, then use html syntax. You may need to search previous threads on how to insert html into email (if that is where this is going) - or perhaps on Rick Strahl's site.

A simple example would be
*-- TEXT BLOCK BEGIN
			text TO lcText NOSHOW TEXTMERGE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title><<this.ctitle>></title>
<meta http-equiv="Content-Type" content="text/html; charset=<<lcCharset>>">
	<link rel="stylesheet" href="lang.css" type="text/css">
</head>

<body>
<<lcPred>>
</body>
</html>
			ENDTEXT
*-- TEXT BLOCK END

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform