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.

Managing the Person Property List<br />

Listener<br />

The Person Property List Listener populates the<br />

value of a property with the logged-on user's name<br />

whenever the value of another property is changed.<br />

Listener<br />

Person Property<br />

Listener ProgID<br />

ENStandardCtl9.Person<br />

PropertyPListener<br />

The listener has custom properties associated with<br />

it:<br />

Managing the Chemical Properties<br />

Property List Listener<br />

The Chemical Properties Property List Listener<br />

populates the Molecular Weight and Molecular<br />

Formula properties automatically as the drawing in<br />

a chemical structure field is changed.<br />

Listener Listener ProgID<br />

Chemical<br />

Properties<br />

ENStandardCtl9.ChemPropert<br />

iesCSListener<br />

The following is required in the section type in<br />

order to use this listeners.<br />

• A chemical structure field.<br />

• A property list with the following properties:<br />

Molecular Weight and Molecular Formula.<br />

The listener has no custom properties associated<br />

with it.<br />

Fill in the following information.<br />

• Source Property – the property that, when<br />

changed, will populate the target property with<br />

the logged-on user's name.<br />

• Target Field – the field containing the<br />

property that will display the user name or user<br />

ID.<br />

• Target Property – the property that will<br />

display the user name or user ID.<br />

• Target SQL – the SQL statement that selects<br />

the username or user ID.<br />

In the example shown above, a change to the<br />

source property “Checksum” will populate the<br />

“Editor” property with the name of the logged-on<br />

user.<br />

Managing the Validate Value Property<br />

List Listener<br />

The Validate Value Property List Listener allows<br />

you to validate a value in a property list against an<br />

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

E-Notebook is valid. If it is not a valid value, the<br />

user will be presented with an error message to that<br />

effect.<br />

Property<br />

List<br />

Listener<br />

Validate<br />

Value<br />

IENPropertyListListener<br />

ProgID<br />

ENStandardCtl9.ValidateValue<br />

PListener<br />

Clicking the Properties button after adding the<br />

listener to a property list displays the following<br />

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

E-Notebook<br />

<strong>ChemOffice</strong> 2005/E-Notebook Managing Fields • 523<br />

Managing Data Fields

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

Saved successfully!

Ooh no, something went wrong!