The PDSEP tag defines a horizontal divider
line on an action bar pull-down menu.
Syntax
>>-<PDSEP>--+----------+---------------------------------------><
'-</PDSEP>-'
Comments
The
PDSEP tag defines a horizontal divider line on an action bar pull-down
menu. You use the horizontal divider to separate groups of related
pull-down choices.
Restrictions
- The PDSEP tag can only be coded between PDC tags. All PDSEP tags
found before the first PDC tag or after the last PDC tag are discarded.
- Only one PDSEP tag should be coded between PDC tags. If multiple
PDSEP tags are found between PDC tags, the first one is accepted and
the others are discarded.
- The PDSEP tag automatically closes an open PDC tag and all nested
tags following the PDC tag.
Examples
Here
is an example that shows how the PDSEP tag is used to draw a separator
line in a pull-down menu.
Figure 1 shows
the formatted result.
<!DOCTYPE DM SYSTEM(
<!entity sampvar1 sysem>
<!entity sampbody system>)>
&sampvar1;
<PANEL NAME=pdsep KEYLIST=keylxmp>Library Card Registration
<AB>
<ABC>File
<PDC>Add Entry
<ACTION RUN=add>
<PDC>Delete Entry
<ACTION RUN=delete>
<PDC>Update Entry
<ACTION RUN=update>
<PDSEP>
<PDC>Exit
<ACTION RUN=exit>
BC>Search
<PDC CHECKVAR=whchsrch MATCH=1 UNAVAIL=srch1
acc1=ctrl acc2=alt acc3=n >Search on name
<ACTION SETVAR=whchsrch VALUE=1>
<ACTION RUN=search>
<PDC CHECKVAR=whchsrch MATCH=2 UNAVAIL=srch2
acc1=ctrl acc2=alt acc3=c>Search on card number
<ACTION SETVAR=whchsrch VALUE=2>
<ACTION RUN=search>
<ABC>Help
<PDC>Extended Help...
<ACTION RUN=exhelp>
<PDC>Keys Help...
<ACTION RUN=keyshelp>
</AB>
&sampbody;
</PANEL>
Figure 1. Pull-down separator