<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<tt>Richard, Are you missing some quotes? z=""{*hp_bold_on*{"This
is bold"<br>
<br>
As far as I understand, the asterisks are a little out of place in
this line. Could you explain? The variable was displayed in bold
in my read, and I am familiar with the codes that start with * but
I think they should not be part of your string when programming
this. BTW nice note.<br>
<br>
Nancy<br>
</tt><br>
<div class="moz-cite-prefix">On 2/13/2020 11:57 AM, Richard D.
Williams via Filepro-list wrote:<br>
</div>
<blockquote type="cite"
cite="mid:506b4222-613e-e83b-2536-4d3acc2eabed@appgrp.net">Did you
ever want to make text bold or underlined inside a text variable
on a form or report and this was not in a set position?
<br>
<br>
I often take long text strings that contain field values and wrap
them into an array of variables on a form.
<br>
Sometimes there are sections or values I want bold or underlined.
<br>
<br>
This is how I do it.
<br>
<br>
if :
<br>
then : declare
hp_ul_on;hp_ul_on=chr("27"){chr("38"){chr("100"){chr("51"){chr("68"){"":
<br>
if :
<br>
then : declare
hp_ul_off;hp_ul_off=chr("27"){chr("38"){chr("100"){chr("64"){"":
<br>
if :
<br>
then : declare hp_bold_on;hp_bold_on=
chr("27"){chr("40"){chr("115"){chr("51"){chr("66"){"":
<br>
if :
<br>
then : declare hp_bold_off;hp_bold_off=
chr("27"){chr("40"){chr("115"){chr("48"){chr("66"){"":
<br>
if :
<br>
then : z=""{*hp_bold_on*{"This will be
bold."{*hp_bold_off*{*hp_ul_on*<"This will be
underlined."{*hp_ul_off*
<br>
<br>
This is just an example.
<br>
<br>
Just an FYI
<br>
<br>
Richard D. Williams
<br>
<br>
<br>
<br>
-------------- next part --------------
<br>
An HTML attachment was scrubbed...
<br>
URL:
<a class="moz-txt-link-rfc2396E" href="http://mailman.celestial.com/pipermail/filepro-list/attachments/20200213/7c29a363/attachment.html"><http://mailman.celestial.com/pipermail/filepro-list/attachments/20200213/7c29a363/attachment.html></a><br>
_______________________________________________
<br>
Filepro-list mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Filepro-list@lists.celestial.com">Filepro-list@lists.celestial.com</a>
<br>
Subscribe/Unsubscribe/Subscription Changes
<br>
<a class="moz-txt-link-freetext" href="http://mailman.celestial.com/mailman/listinfo/filepro-list">http://mailman.celestial.com/mailman/listinfo/filepro-list</a>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: <a class="moz-txt-link-freetext" href="http://www.vss3.com">http://www.vss3.com</a>
</pre>
</body>
</html>