\cellxn
The \cellx statement sets the absolute position of the right edge of a table cell. One \cellx statement must be given for each cell in the table. The first \cellx statement applies to the leftmost cell, the last to the rightmost cell. For each \cellx statement, the specified position applies to the corresponding cell in each subsequent row of the table up to the next \trowd statement.
Parameter
n
Specifies the position of the cell’s right edge, in twips. The position is relative to the left edge of the Help window. It is not affected by the current indents.
Comments
A table consists of a grid of cells in columns and rows. Each cell has an explicitly defined right edge; the position of a cell’s left edge is the same as the position of the right edge of the adjacent cell. For the left-most cell in a row, the left edge position is equal to the Help window’s left margin position. Each cell has a left and right margin between which Windows Help aligns and wraps text. By default, the margin positions are equal to the left and right edges. The \trgaph and \trleft statements can be used to set different margins for all cells in a row.
This statement was first supported in the Microsoft Help compiler version 3.1.
Example
The following example creates a three-column table having two rows. The positions of the right edges of the three cells are 2, 4, and 6 inches, respectively:
\cellx2880\cellx5760\cellx8640
\intbl
Row 1 Cell 1\cell
Row 1 Cell 2\cell
Row 1 Cell 3\cell
\row
\intbl
Row 2 Cell 1\cell
Row 2 Cell 2\cell
Row 2 Cell 3\cell
\row \pard
See Also
\cell, \intbl, \row, \trgaph, \trleft, \trowd