17.11.2014 Views

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

ChemOffice.Com - CambridgeSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To change the font or color of the text, select it with<br />

the Form toolbar Selection tool . Use the text<br />

formatting toolbar to customize the text.<br />

Adding a Button<br />

To place a button on a form:<br />

Adding Pictures<br />

The Picture tool allows you to create a Picture Box<br />

to display a Windows metafile. It can display a static<br />

metafile stored in a.WMF file, or a live one stored<br />

in a picture column of a database.<br />

To create a Picture Box:<br />

1. Write a script using the ChemFinder<br />

Automation Language (CAL).<br />

2. Click the Button tool on the Form toolbar.<br />

3. On the form, click and drag to draw a button.<br />

The Enter the Label dialog box appears.<br />

4. Enter a label. The text can be descriptive<br />

(“Click to browse”) and does not have to<br />

correspond to the name of the script. Click OK.<br />

For more information about using a button to run<br />

a script, see “Using Scripts” on page 349.<br />

Adding a Checkbox<br />

The Checkbox tool allows you to add checkboxes<br />

to your form. A Checkbox can be assigned to either<br />

a Boolean or an Integer field.<br />

1. Click the Picture tool .<br />

2. On the form, drag to create an area for the<br />

picture to occupy.<br />

The Open dialog appears.<br />

3. In the Open dialog box, select the Windows<br />

metafile (.wmf) you want to display, and then<br />

click Open.<br />

The picture appears in your form.<br />

NOTE: The metafile is not actually embedded in the form.<br />

Only its filename is saved with the form. If you move or<br />

rename the metafile, the form will not display the<br />

corresponding picture. However, if you make changes to the<br />

picture and keep its filename the same, the picture in the form<br />

will be updated.<br />

ChemFinder<br />

To add a checkbox:<br />

1. Click the Checkbox tool.<br />

2. On the form, drag an area large enough for the<br />

text next to the checkbox.<br />

The Enter the label dialog box appears.<br />

3. Type in the text and click OK.<br />

4. Right-click, and assign the box to a field.<br />

To read in a picture file or to replace a picture in a<br />

Picture Data Box:<br />

1. Right-click a picture and choose Read File.<br />

The Open dialog box appears.<br />

2. In the Open dialog box, select the metafile you<br />

want to display in the Picture Data Box, and<br />

click the Open button.<br />

The new metafile replaces the picture in the<br />

Picture Data Box.<br />

<strong>ChemOffice</strong> 2005/ChemFinder Creating and Editing Forms • 259<br />

Creating Forms Manually

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!