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



AtWgt


Unit:SDL_cform
Class:TMolForm
Declaration:property AtWgt[ix: integer]: integer;

The array property AtWgt contains the atomic weight of each kind of atoms of the molecular formula. The parameter ix   may vary between 1 and NumAtoms. The molecular formula of TMolForm may be manipulated by changing AtWgt.

Please note, that the molecular formula display is not updated if AtWgt 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