The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



NumAtoms


Unit:SDL_cform
Class:TMolForm
Declaration:property NumAtoms: integer;

The property NumAtoms contains the number of different kinds of atoms of the molecular formula. Please note that isotopes of the same chemical element are regarded as different atom types.

Please note, that the molecular formula display is not updated if NumAtoms is changed. You have to call the method ShowIt explicitly in order to refresh the display.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): molform



Last Update: 2012-Oct-20