Macro Language Reference > Macros > Frame > tfmode
  
tfmode
Description
Sets the mode of the currently selected frame. A mode of a frame determines whether it is active for all pages, left-hand pages only, or right-hand pages only. In order to retain compatibility with documents produced in earlier versions ofPTC ALD , frames can also be used to indicate the area inside which footnotes will be collected: this is now handled automatically by PTC ALD frame note mechanism (see tfnote) and most users will therefore not require frames of footnote mode f.
 
Example 126. Display selected frame on right hand pages only
The macro shown below will display the selected frame on right hand pages only. To specify a repeating frame, you could use this frame on an overlay or underlay, or insert the page on which it appears using the tpins macro.
tfmode "r"
Syntax
tfmode mode:s? expression:s?
tfmode
[no parameter]
Invoke the Frame mode dialog box.
mode
b
Display frame on all pages of a document.
f
Define frame as a footnote marker frame
l
Display frame on left-hand pages only
r
Display frame on right-hand pages only
o
Display frame on odd pages only
e
Display frame on even pages only
expression
Displays the frame if the condition is true. Can take any valid showstring expression.
Related Links