|
A macro that creates a box with rounded corners
around document text, like this:

If text was selected before playing the macro,
the box is placed at the current insertion point in the document.
If no text was selected, a dialog pops up to allow you to enter
text manually, and the resulting box "floats" on the
page so that it can be moved (dragged) to the desired position.
While WordPerfect has a feature to enclose
paragraphs and pages with border lines, this macro allows you
to "box" fewer text characters -- such as a word or
phrase -- and with one that has rounded corners. (If you simply
select some text and click Insert, Text Box -- or click the Text
Box toolbar icon -- the selection will be inserted automatically
in a text box, but it will not have the rounded corners that
this macro gives you without making some manual adjustments.)
You also can use it to place floating box
labels in a document with connecting lines (thereby creating
"callouts"; also
see the tip on drawing arrows
on the Tips page).
You can make minor modifications to the box
in the redlined area of the macro's code, such as border style,
spacing between the border and text, and the degree of corner
rounding. See the instructions at the top of the code.
TEXTBOX.WCM complements WP's shipping macro,
REVERSE.WCM (which produces rectangular boxes with white text
on a black background). It is fully annotated so that you can
adjust default values. (Also see LETRBOX.) |