Adding controls to a DataWindow object
204 DataWindow .NET
❖ To add a group box to a DataWindow object:
1 Select Insert>Control>Group Box from the menu bar and click in the
Design view.
2 With the group box selected, type the text to display in the frame.
3 Move and resize the group box as appropriate.
Adding pictures to a DataWindow object
You can place pictures, such as your company logo, in a DataWindow object
to enhance its appearance. If you place a picture in the header, summary, or
footer band of the DataWindow object, the picture displays each time the
content of that band displays. If you place the picture in the detail band of the
DataWindow object, it displays in each row.
❖ To place a picture in a DataWindow object:
1 Select Insert>Control>Picture from the menu bar.
2 Click where you want the picture to display.
The Select Picture dialog box displays.
3 Use the Browse button to find the file or enter a file name in the File Name
box. Then click Open.
The picture must be a bitmap (BMP), runlength-encoded (RLE), Windows
metafile (WMF), Graphics Interchange Format (GIF), or Joint
Photographic Experts Group (JPEG) file.
4 Display the pop-up menu and select Original Size to display the bitmap in
its original size.
You can use the mouse to change the size of the bitmap in the DataWindow
painter.
5 Click the Invert Image check box on the General page of the Properties
view to display the picture with its colors inverted.
Tips for using pictures
To display a different picture for each row of data, retrieve a column containing
picture file names from the database.
For more information, see “Specifying additional properties for character
columns” on page 67.