RWS_LEGEND
Example |
Purpose
Tags the contents of a string to mark it as a legend (title) for a fieldset.
Syntax
RWS_LEGEND(vString, aClass)
Parameters
vString A string variable containing the text to be tagged as a legend. On return, the variable contains the modified string.
aClass A that can contain the following elements:
Element No. |
Attribute |
Description |
---|---|---|
1 |
CLASS |
The name of a tag class defined in a stylesheet. |
2 |
ALIGN |
Specifies where the legend is to be placed in the fieldset border. Valid values are TOP, BOTTOM, LEFT, RIGHT. |
Attributes defined in the aClass parameter are applied to the LEGEND tag.
For information about using aClass, see The aClass Parameter.
Dependencies
The HTML generated by RWS_LEGEND must be used within a fieldset, which should normally be used within a form.