spacerAdded by IBM on October 10, 2012 | Version 1 (Original)
|Creates space between items on a form. It can be any size specified. It is invisible.
Available options fontinfo, itemlocation, itemnext, itemprevious, label, linespacing, size, xformsenabled
Example This example shows a spacer item that uses the size option to define the amount of space it will occupy.
This example shows the spacer item that uses a label to define the amount of space it will occupy. This sizing technique is useful when creating a spacer that is exactly the same size as a real label on the form.
<label>Welcome to Information Line</label>
- A spacer can be sized either by giving it length and width dimensions (using size), by expanding the default size using the itemlocation option or by giving it a label. If a label is used, the spacer equals the size of the text typed into the label. The label does not appear; it is simply used to determine the spacer's size.
- When setting the size option of a spacer, the height and width of the spacer will be based on the average character size for the font in use (set with the fontinfo option).
- If you set the width for a spacer, but not the height, then the spacer will automatically grow to accommodate the text within the given width. In other words, the text will wrap to fit within the width specified, and the height will increase to accommodate the text.