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 />

reactants and products. In addition, the Next Step<br />

function creates a new page containing the<br />

products of the chemical reaction.<br />

Table Listener<br />

Products<br />

Managing the Add Reactant Table Listener<br />

The Add Reactant Table Listener makes it possible<br />

for a user to populate the stoichiometry grid with<br />

the properties of a reactant he selects from the<br />

Collection Tree. The user does this by right-clicking<br />

within the table and selecting Add Reactant from<br />

the menu that appears.<br />

Table Listener<br />

IENTableListener ProgID<br />

ENStandardCtl9.Products<br />

Listener<br />

IENTableListener ProgID<br />

This table listener has custom properties associated<br />

with it. You must select the collection type and state<br />

corresponding to the references that will be<br />

blocked. In the example below, a user will be<br />

prevented from adding a reference to an “Ancillary<br />

File Version” collection that is in the “Draft” state.<br />

Note that you may associate multiple instances of<br />

this listener with a table, if you would like to prevent<br />

users from adding references to several different<br />

collection types and/or several different states of a<br />

collection type.<br />

Managing the Validate Value Table Listener<br />

The Validate Value Table Listener allows you to<br />

validate a values of a property in a table against an<br />

external database, to ensure the values entered into<br />

E-Notebook are valid. If a user enters a value that<br />

is not valid, he will be presented with an error<br />

message to that effect.<br />

Add Reactant<br />

ENReaction9.AddReactant<br />

TListener<br />

Table Listener IENPropertyListListener<br />

ProgID<br />

Managing the Block Reference In State Table<br />

Listener<br />

The Block Reference In State Table Listener may<br />

be used to block users from adding a reference to a<br />

specific type of collection that is in a particular state.<br />

If the listener is configured to block the reference,<br />

the user will be unable to add the reference to the<br />

table. For example, you may wish to prevent users<br />

from adding table references to pages/experiments<br />

that are in an archived state.<br />

Table Listener<br />

Block Reference<br />

In State<br />

IENTableListener ProgID<br />

ENStandardCtl9.BlockRefIn<br />

StateTListener<br />

Validate Value<br />

ENStandardCtl9.ValidateValue<br />

TListener<br />

Clicking the Properties button after adding the<br />

listener to a table displays the following dialog.<br />

Here, you select the property to be validated from<br />

the Property drop-down list. Then, enter the<br />

database connection information and the SQL<br />

string to be used for validating the value.<br />

Managing the Analyze Reaction Table Listener<br />

The Analyze Reaction Table Listener automatically<br />

updates the reactants and products tables in a<br />

stoichiometry grid when a user edits a reaction<br />

drawing. This listener must be associated with both<br />

the Reactants table field and the Products table<br />

534• Managing Fields <strong>CambridgeSoft</strong><br />

Managing Data Fields

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

Saved successfully!

Ooh no, something went wrong!