TFrmHCA

The class TFrmHCA supports the management of the user interface of the hierarchical cluster analysis (HCA). Please note that you cannot create an instance of this class yourself (the class has no public Create method). In order to manipulate the parameters of the HCA you have first to call the function HCAGui. This will display the HCA user interface and create the instance FrmHCA which is then globally available throughout a script.

The class TFrmHCA provides the following properties and methods:

Properties

 

Methods

Hint: If you use the global instance FrmHCA before you have called HCAGui this will result in an error message ("Could not call proc at ....")

Example: The following code snippet creates the user interface of the HCA, sets a few parameters, loads the descriptors and finally asks whether to start the HCA calculations:
HCAgui (4,          // LinkageType
        1,          // DistMeasure
        True,       // ReducedData
        25);        // PercMinDist
FrmHCA.AttachedForm := false;
FrmHCA.Left := 100;
FrmHCA.Top := 100;
FrmHCA.Mask := 1;
FrmHCA.LoadSpdcs ('irspec.spdc');
FrmHCA.Orientation := dirLeftward;
FrmHCA.UseStandardizedData := true;
if MessageDlg ('Start Calculations?', mtConfirmation, [mbYes, mbCancel]) = mrYes then
  FrmHCA.Calculate;