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.

Administrator<br />

You do not need to spell out menu commands. You<br />

can enter just enough letters to uniquely identify the<br />

menu option. For example, to execute the Record<br />

Next command, type:<br />

rec n<br />

Some menu commands open a dialog box and wait<br />

for user feedback. To avoid this, a limited number<br />

of menu commands can take explicit arguments:<br />

FILE OPEN [filename]<br />

FILE SAVE [filename]<br />

RECORD GO TO RECORD [recno]<br />

Box Type<br />

Text<br />

Picture<br />

Button<br />

String<br />

static text<br />

pathname of a Windows<br />

metafile<br />

pathname of a script file, or<br />

name as it appears on Scripts<br />

menu<br />

Box Creation<br />

<strong>Com</strong>mands<br />

DBOX coords [fieldname]<br />

FRAME coords [text]<br />

TEXT coords [text]<br />

PICT coords [filename]<br />

BUTTON coords [scriptname]<br />

SUBFM coords<br />

ARROWBOX coords<br />

FRAMEDBOX coords [fieldname] [text]<br />

To create a new box on the form:<br />

1. Specify the box type with the appropriate<br />

keyword.<br />

2. Type four integers giving the rectangular<br />

coordinates of the box after the keyword.<br />

3. If desired, type a text string giving further<br />

information appropriate to the box type, as<br />

shown below:<br />

Box Type<br />

Data box<br />

String<br />

name of database field to be<br />

displayed in the box<br />

Subform<br />

Arrowbox<br />

Framedbox<br />

<br />

<br />

name of database field to be<br />

displayed in the box, and static<br />

label for upper left<br />

If the text string is omitted, you can supply it later<br />

using SETFIELD or SETTEXT. For a button, you<br />

must use SETTEXT if you want its visible label to be<br />

different from the name of its script.<br />

Box coordinates are specified in this order: left, top,<br />

right, bottom. Units are in pixels; the origin is at the<br />

upper left, with coordinates increasing from left to<br />

right and top to bottom, so that coordinates will<br />

range from left = 0 to right = 640 or 1024 or<br />

whatever fits your screen, and from top = 0 to<br />

bottom = 480 or 768 or similar.<br />

When a new box is created, it adopts the current<br />

font. To specify a particular font for a box, use the<br />

FONT command prior to creating the box.<br />

When specifying a script name, give one of the<br />

following:<br />

• The complete pathname of the script file.<br />

Frame<br />

static label for upper left<br />

692• CAL <strong>Com</strong>mands <strong>CambridgeSoft</strong><br />

Box Creation <strong>Com</strong>mands

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

Saved successfully!

Ooh no, something went wrong!