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



AtCnt


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

The array property AtCnt contains the number of atoms for 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 AtCnt.

Please note, that the molecular formula display is not updated if AtCnt 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: 2023-Dec-13