boxAdded by IBM on October 10, 2012 | Version 1 (Original)
|Specifies a rectangular box on the form. Other items may be positioned on top of boxes (using itemlocation). The purpose of box items is simply to add visual variety to the form.
Available options bgcolor, border, borderinfo, fontinfo, itemlocation, itemnext, itemprevious, printbgcolor, printvisible, size, visible, xformsenabled
Example The following example shows a typical box description. The box is 25 characters wide and 4 characters high. The background color is blue.
- The default background color of a box is transparent. To make the box more visible, change the background color.
- When setting the size option of a box, the height and width of the box will be based on the average character size for the font in use (set with the fontinfo option). The default font, if none is specified in the page global settings, is Helvetica 8 plain.
- If you are creating an XForms form, you should use the pane item rather than the box item. For more information about the pane item, refer to pane.