Class TFormMain

Unit

Declaration

type TFormMain = class(TForm)

Description

TFormMain

Hierarchy

  • TForm
  • TFormMain

Overview

Fields

Public ActionAbout: TAction;
Public ActionAnimationMode: TAction;
Public ActionComputCurvePositions: TAction;
Public ActionComputeBackgroundPoints: TAction;
Public ActionComputeRFactorBounds: TAction;
Public ActionCopy: TAction;
Public ActionDelete: TAction;
Public ActionDoAllAutomatically: TAction;
Public ActionEnableBackgroundVariation: TAction;
Public ActionEnableCurveScaling: TAction;
Public ActionGlossary: TAction;
Public ActionList: TActionList;
Public ActionLoadProfile: TAction;
Public ActionMinimizeDifference: TAction;
Public ActionMinimizeNumberOfCurves: TAction;
Public ActionQuit: TAction;
Public ActionReloadData: TAction;
Public ActionRemoveBackgroundPoints: TAction;
Public ActionRemoveCurvePositions: TAction;
Public ActionRemoveRFactorBounds: TAction;
Public ActionSaveModelAsText: TAction;
Public ActionSelectAll: TAction;
Public ActionSelectAllPointsAsCurvePositions: TAction;
Public ActionSelectBackgroundManually: TAction;
Public ActionSelectCharacteristicPoints: TAction;
Public ActionSelectCurveBounds: TAction;
Public ActionSelectCurvePositionsManually: TAction;
Public ActionSelectDataInterval: TAction;
Public ActionSelectEntireProfile: TAction;
Public ActionSelectIntervalBounds: TAction;
Public ActionSelectRFactorBoundsManually: TAction;
Public ActionSetBackgroundFraction: TAction;
Public ActionSetMaximumRFactor: TAction;
Public ActionSmoothProfile: TAction;
Public ActionStopFit: TAction;
Public ActionSubtractBackgroundAutomatically: TAction;
Public ActionSubtractBackgroundBySelectedPoints: TAction;
Public ActionViewMarkers: TAction;
Public ActionZoomIn: TAction;
Public ActionZoomOut: TAction;
Public ApplicationProperties: TApplicationProperties;
Public ButCopy4: TButton;
Public ButSaveAsText4: TButton;
Public Chart: TTAChart;
Public CheckListBoxLegend: TCheckListBox;
Public EditBalloonChart: TEdit;
Public EditBalloonGridBackground: TEdit;
Public EditBalloonGridData: TEdit;
Public EditBalloonGridDatasheet: TEdit;
Public EditBalloonGridIntervals: TEdit;
Public EditBalloonGridParameters: TEdit;
Public EditBalloonGridSpecPositions: TEdit;
Public FActiveNumber: LongInt;
Public FCurSerieIndex: LongInt;
Public FCurveList: TMSCRCurveList;
Protected FDownX: Integer;
Protected FDownY: Integer;
Protected FDrawReticule: Boolean;
Protected FEditDone: Boolean;
Public FFitViewer: TFitViewer;
Protected FHandleEditHint: Boolean;
Protected FHintMessage: string;
Protected FInitXGraphMax: Double;
Protected FInitXGraphMin: Double;
Protected FInitYGraphMax: Double;
Protected FInitYGraphMin: Double;
Public FModifiedDatasheet: Boolean;
Public FModifiedParameters: Boolean;
Protected FSavedAmp: string;
Protected FSavedPos: string;
Protected FSenderEditHint: TNumericGrid;
Public FSettings: Settings_v1;
Protected FUpX: Integer;
Protected FUpY: Integer;
Public FValueIndex: LongInt;
Public GridBackground: TNumericGrid;
Public GridData: TNumericGrid;
Public GridDatasheet: TNumericGrid;
Public GridIntervals: TNumericGrid;
Public GridParameters: TNumericGrid;
Public GridSpecPositions: TNumericGrid;
Public ImageList1: TImageList;
Public ImageList2: TImageList;
Public Label1: TLabel;
Public Label2: TLabel;
Public Label4: TLabel;
Public Label5: TLabel;
Public LabelAngle: TLabel;
Public LabelIntensity: TLabel;
Public MainMenu: TMainMenu;
Public MenuAbout: TMenuItem;
Public MenuAnimationMode: TMenuItem;
Public MenuArgumentTransformation: TMenuItem;
Public MenuBackground: TMenuItem;
Public MenuBackgroundPoints: TMenuItem;
Public MenuComputCurvePositions: TMenuItem;
Public MenuComputeBackgroundPoints: TMenuItem;
Public MenuComputeRFactorBounds: TMenuItem;
Public MenuCopy: TMenuItem;
Public MenuCreateRule: TMenuItem;
Public MenuCurvePositions: TMenuItem;
Public MenuData: TMenuItem;
Public MenuDelete: TMenuItem;
Public MenuDoAllAutomatically: TMenuItem;
Public MenuEdit: TMenuItem;
Public MenuEnableBackgroundVariation: TMenuItem;
Public MenuEnableCurveScaling: TMenuItem;
Public MenuFile: TMenuItem;
Public MenuFit: TMenuItem;
Public MenuGlossary: TMenuItem;
Public MenuHelp: TMenuItem;
Public MenuLoadProfile: TMenuItem;
Public MenuMinimizeDifference: TMenuItem;
Public MenuMinimizeNumberOfCurves: TMenuItem;
Public MenuModel: TMenuItem;
Public MenuN2Theta: TMenuItem;
Public MenuN2Theta2: TMenuItem;
Public MenuQuit: TMenuItem;
Public MenuRange: TMenuItem;
Public MenuReload: TMenuItem;
Public MenuRemoveBackgroundPoints: TMenuItem;
Public MenuRemoveCurvePositions: TMenuItem;
Public MenuRemoveRFactorBounds: TMenuItem;
Public MenuRFactorIntervals: TMenuItem;
Public MenuSaveModelAsText: TMenuItem;
Public MenuSelectAll: TMenuItem;
Public MenuSelectAllPointsAsCurvePositions: TMenuItem;
Public MenuSelectBackgroundManually: TMenuItem;
Public MenuSelectCharacteristicPoints: TMenuItem;
Public MenuSelectCurveBounds: TMenuItem;
Public MenuSelectCurvePositionsManually: TMenuItem;
Public MenuSelectCurveType: TMenuItem;
Public MenuSelectDataInterval: TMenuItem;
Public MenuSelectEntireProfile: TMenuItem;
Public MenuSelectIntervalBounds: TMenuItem;
Public MenuSelectRFactorBoundsManually: TMenuItem;
Public MenuSeparator1: TMenuItem;
Public MenuSeparator10: TMenuItem;
Public MenuSeparator11: TMenuItem;
Public MenuSeparator12: TMenuItem;
Public MenuSeparator2: TMenuItem;
Public MenuSeparator3: TMenuItem;
Public MenuSeparator4: TMenuItem;
Public MenuSeparator5: TMenuItem;
Public MenuSeparator6: TMenuItem;
Public MenuSeparator7: TMenuItem;
Public MenuSeparator8: TMenuItem;
Public MenuSeparator9: TMenuItem;
Public MenuSetBackgroundFraction: TMenuItem;
Public MenuSetMaximumRFactor: TMenuItem;
Public MenuSetRuleParameters: TMenuItem;
Public MenuSetWavelength: TMenuItem;
Public MenuSinThetaLambda: TMenuItem;
Public MenuSinThetaLambda2: TMenuItem;
Public MenuSmoothProfile: TMenuItem;
Public MenuStopFit: TMenuItem;
Public MenuSubtractBackground: TMenuItem;
Public MenuSubtractBackgroundAutomatically: TMenuItem;
Public MenuSubtractBackgroundBySelectedPoints: TMenuItem;
Public MenuTheta: TMenuItem;
Public MenuTheta2: TMenuItem;
Public MenuUseRule: TMenuItem;
Public MenuView: TMenuItem;
Public MenuViewMarkers: TMenuItem;
Public MenuZoomIn: TMenuItem;
Public MenuZoomOut: TMenuItem;
Public OpenDialog: TOpenDialog;
Public PageControl: TPageControl;
Public Panel2: TPanel;
Public PanelBackground: TPanel;
Public PanelChart: TPanel;
Public PanelDatasheet: TPanel;
Public PanelIntervals: TPanel;
Public PanelLeft: TPanel;
Public PanelParameters: TPanel;
Public PanelRight: TPanel;
Public PanelSpecPositions: TPanel;
Public PanelTop: TPanel;
Public PopupViewMode: TPopupMenu;
Public SaveDialog: TSaveDialog;
Public ScrollBarX: TScrollBar;
Public ScrollBarY: TScrollBar;
Public SelCurveLorentzian: TMenuItem;
Public SplitterBottom: TSplitter;
Public SplitterChartRight: TSplitter;
Public SplitterLeftChart: TSplitter;
Public StatusBar: TStatusBar;
Public TabSheetBackground: TTabSheet;
Public TabSheetDatasheet: TTabSheet;
Public TabSheetIntervals: TTabSheet;
Public TabSheetParameters: TTabSheet;
Public TabSheetSpecPositions: TTabSheet;
Public TimerAsync: TTimer;
Public TimerBalloonHide: TTimer;
Public TimerBalloonShow: TTimer;
Public TimerCheckState: TTimer;
Public ToolBar1: TToolBar;
Public ToolBar2: TToolBar;
Public ToolBar3: TToolBar;
Public ToolBar4: TToolBar;
Public ToolBar5: TToolBar;
Public ToolBar6: TToolBar;
Public ToolButton1: TToolButton;
Public ToolButton10: TToolButton;
Public ToolButton11: TToolButton;
Public ToolButton12: TToolButton;
Public ToolButton13: TToolButton;
Public ToolButton14: TToolButton;
Public ToolButton15: TToolButton;
Public ToolButton16: TToolButton;
Public ToolButton2: TToolButton;
Public ToolButton3: TToolButton;
Public ToolButton4: TToolButton;
Public ToolButton5: TToolButton;
Public ToolButton6: TToolButton;
Public ToolButton7: TToolButton;
Public ToolButton8: TToolButton;
Public ToolButton9: TToolButton;

Methods

Public function SaveTableAsText(GridData: TNumericGrid): Boolean;
Protected function GetConfigFileName: string;
Public procedure ActionAboutExecute(Sender: TObject);
Public procedure ActionAnimationModeExecute(Sender: TObject);
Public procedure ActionAnimationModeUpdate(Sender: TObject);
Public procedure ActionComputCurvePositionsExecute(Sender: TObject);
Public procedure ActionComputeBackgroundPointsExecute(Sender: TObject);
Public procedure ActionComputeRFactorBoundsExecute(Sender: TObject);
Public procedure ActionCopyExecute(Sender: TObject);
Public procedure ActionDeleteExecute(Sender: TObject);
Public procedure ActionDoAllAutomaticallyExecute(Sender: TObject);
Public procedure ActionEnableBackgroundVariationExecute(Sender: TObject);
Public procedure ActionEnableBackgroundVariationUpdate(Sender: TObject);
Public procedure ActionEnableCurveScalingExecute(Sender: TObject);
Public procedure ActionEnableCurveScalingUpdate(Sender: TObject);
Public procedure ActionLoadProfileExecute(Sender: TObject);
Public procedure ActionMinimizeDifferenceExecute(Sender: TObject);
Public procedure ActionMinimizeNumberOfCurvesExecute(Sender: TObject);
Public procedure ActionQuitExecute(Sender: TObject);
Public procedure ActionReloadDataExecute(Sender: TObject);
Public procedure ActionRemoveBackgroundPointsExecute(Sender: TObject);
Public procedure ActionRemoveCurvePositionsExecute(Sender: TObject);
Public procedure ActionRemoveRFactorBoundsExecute(Sender: TObject);
Public procedure ActionSaveModelAsTextExecute(Sender: TObject);
Public procedure ActionSelCurveExecute(Sender: TObject);
Public procedure ActionSelectAllExecute(Sender: TObject);
Public procedure ActionSelectAllPointsAsCurvePositionsExecute(Sender: TObject);
Public procedure ActionSelectBackgroundManuallyExecute(Sender: TObject);
Public procedure ActionSelectCharacteristicPointsExecute(Sender: TObject);
Public procedure ActionSelectCurveBoundsExecute(Sender: TObject);
Public procedure ActionSelectCurvePositionsManuallyExecute(Sender: TObject);
Public procedure ActionSelectDataIntervalExecute(Sender: TObject);
Public procedure ActionSelectEntireProfileExecute(Sender: TObject);
Public procedure ActionSelectIntervalBoundsExecute(Sender: TObject);
Public procedure ActionSelectRFactorBoundsManuallyExecute(Sender: TObject);
Public procedure ActionSetBackgroundFractionExecute(Sender: TObject);
Public procedure ActionSetMaximumRFactorExecute(Sender: TObject);
Public procedure ActionSmoothProfileExecute(Sender: TObject);
Public procedure ActionStopFitExecute(Sender: TObject);
Public procedure ActionSubtractBackgroundAutomaticallyExecute(Sender: TObject);
Public procedure ActionSubtractBackgroundBySelectedPointsExecute(Sender: TObject);
Public procedure ActionViewMarkersExecute(Sender: TObject);
Public procedure ActionZoomInExecute(Sender: TObject);
Public procedure ActionZoomOutExecute(Sender: TObject);
Public procedure AddUserCurveMenu(ct: Curve_type);
Public procedure ApplicationPropertiesHint(Sender: TObject);
Public procedure ButAddSelectedDataPointClick(Sender: TObject);
Public procedure ButAddSelectedDataPointToPositionsClick(Sender: TObject);
Public procedure ButAddSelectedPointToIntervalsClick(Sender: TObject);
Public procedure Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
Public procedure ChartDrawReticule(Sender: TComponent; IndexSerie, Index, Xi, Yi: Integer; Xg, Yg: Double);
Public procedure ChartMouseDown(Sender: TOBject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Public procedure ChartMouseUp(Sender: TOBject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
Public procedure CheckListBoxChanged;
Public procedure CheckListBoxLegendClick(Sender: TObject);
Public procedure CheckListBoxLegendDrawItem(Control: TWinControl; Index: Integer; ARect: TRect; State: TOwnerDrawState);
Public procedure CheckListBoxLegendKeyPress(Sender: TObject; var Key: Char);
Public procedure CreateMenuItem(Pos: LongInt; ct: Curve_type; ParentMenu: TMenuItem; OnClick: TNotifyEvent);
Public procedure CreateUserCurveMenus;
Public procedure CurvePositionsClick(Sender: TObject);
Public procedure DeleteUserCurve(ct: Curve_type);
Public procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
Public procedure FormCreate(Sender: TObject);
Public procedure FormDestroy(Sender: TObject);
Public procedure GridDataEditingDone(Sender: TObject);
Public procedure GridDataSelectEditor(Sender: TObject; aCol, aRow: Integer; var Editor: TWinControl);
Public procedure LoadDataFile(FileName: string);
Public procedure LoadTable;
Public procedure MenuModelClick(Sender: TObject);
Public procedure MenuN2ThetaClick(Sender: TObject);
Public procedure MenuSetWavelengthClick(Sender: TObject);
Public procedure MenuSinThetaLambdaClick(Sender: TObject);
Public procedure MenuThetaClick(Sender: TObject);
Public procedure PanelTopClick(Sender: TObject);
Public procedure ReadSettings;
Public procedure ReadUserCurves;
Public procedure SaveTable;
Public procedure ScrollBarXChange(Sender: TObject);
Public procedure ScrollBarYChange(Sender: TObject);
Public procedure ShowHint(const Hint: string);
Public procedure ShowRFactor;
Public procedure ShowTime;
Public procedure TabSheetBackgroundResize(Sender: TObject);
Public procedure TabSheetBackgroundShow(Sender: TObject);
Public procedure TabSheetDatasheetShow(Sender: TObject);
Public procedure TabSheetIntervalsShow(Sender: TObject);
Public procedure TabSheetParametersShow(Sender: TObject);
Public procedure TabSheetSpecPositionsShow(Sender: TObject);
Public procedure TAChart1Zoom(Sender: TComponent);
Public procedure TimerAsyncTimer(Sender: TObject);
Public procedure TimerBalloonHideTimer(Sender: TObject);
Public procedure TimerBalloonShowTimer(Sender: TObject);
Public procedure TimerCheckStateTimer(Sender: TObject);
Public procedure WriteSettings;
Public procedure WriteUserCurve(CurveType: Curve_type);
Protected procedure AsyncOperationFinished(Sender: TObject);
Protected procedure CreateCurveTypeMenus;
Protected procedure DoEditHint;
Protected procedure OnChartClick;
Protected procedure OnDeleteUserCurveClick(Sender: TObject);
Protected procedure OnException(Sender: TObject; E: Exception);
Protected procedure OnFindComponentClass(Reader: TReader; const ClassName: string; var ComponentClass: TComponentClass);
Protected procedure OnUserCurveClick(Sender: TObject);
Protected procedure SetAsyncState(State: TAsyncState);
Protected procedure SetHandleEditHint(EditHint: Boolean);
Protected procedure SetOpenState(State: TOpenState);
Protected procedure SetResState(State: TResState);
Protected procedure SetSelectionMode(ASelectionMode: TSelMode);
Protected procedure SetViewState(State: TViewState);
Protected procedure SubtractBackground(Auto: Boolean);
Protected procedure UpdateBarsPos;

Properties

Public property HandleEditHint: Boolean read FHandleEditHint write SetHandleEditHint;

Description

Fields

Public ActionAbout: TAction;
 
Public ActionAnimationMode: TAction;
 
Public ActionComputCurvePositions: TAction;
 
Public ActionComputeBackgroundPoints: TAction;
 
Public ActionComputeRFactorBounds: TAction;
 
Public ActionCopy: TAction;
 
Public ActionDelete: TAction;
 
Public ActionDoAllAutomatically: TAction;
 
Public ActionEnableBackgroundVariation: TAction;
 
Public ActionEnableCurveScaling: TAction;
 
Public ActionGlossary: TAction;
 
Public ActionList: TActionList;
 
Public ActionLoadProfile: TAction;
 
Public ActionMinimizeDifference: TAction;
 
Public ActionMinimizeNumberOfCurves: TAction;
 
Public ActionQuit: TAction;
 
Public ActionReloadData: TAction;
 
Public ActionRemoveBackgroundPoints: TAction;
 
Public ActionRemoveCurvePositions: TAction;
 
Public ActionRemoveRFactorBounds: TAction;
 
Public ActionSaveModelAsText: TAction;
 
Public ActionSelectAll: TAction;
 
Public ActionSelectAllPointsAsCurvePositions: TAction;
 
Public ActionSelectBackgroundManually: TAction;
 
Public ActionSelectCharacteristicPoints: TAction;
 
Public ActionSelectCurveBounds: TAction;
 
Public ActionSelectCurvePositionsManually: TAction;
 
Public ActionSelectDataInterval: TAction;
 
Public ActionSelectEntireProfile: TAction;
 
Public ActionSelectIntervalBounds: TAction;
 
Public ActionSelectRFactorBoundsManually: TAction;
 
Public ActionSetBackgroundFraction: TAction;
 
Public ActionSetMaximumRFactor: TAction;
 
Public ActionSmoothProfile: TAction;
 
Public ActionStopFit: TAction;
 
Public ActionSubtractBackgroundAutomatically: TAction;
 
Public ActionSubtractBackgroundBySelectedPoints: TAction;
 
Public ActionViewMarkers: TAction;
 
Public ActionZoomIn: TAction;
 
Public ActionZoomOut: TAction;
 
Public ApplicationProperties: TApplicationProperties;
 
Public ButCopy4: TButton;
 
Public ButSaveAsText4: TButton;
 
Public Chart: TTAChart;
 
Public CheckListBoxLegend: TCheckListBox;
 
Public EditBalloonChart: TEdit;
 
Public EditBalloonGridBackground: TEdit;
 
Public EditBalloonGridData: TEdit;
 
Public EditBalloonGridDatasheet: TEdit;
 
Public EditBalloonGridIntervals: TEdit;
 
Public EditBalloonGridParameters: TEdit;
 
Public EditBalloonGridSpecPositions: TEdit;
 
Public FActiveNumber: LongInt;

Index of curve on which the first click was. It is used in the cases when points of only one curve can be selected.

Public FCurSerieIndex: LongInt;

Index of a serie point of which is selected at the moment.

Public FCurveList: TMSCRCurveList;

Collection should be passive. Object is set from TFitViewer and is checked on Nil.

Protected FDownX: Integer;

These variables are used for separating clicks from area selection.

Protected FDownY: Integer;

These variables are used for separating clicks from area selection.

Protected FDrawReticule: Boolean;
 
Protected FEditDone: Boolean;

Protects from reentrance into editing finalization.

Public FFitViewer: TFitViewer;
 
Protected FHandleEditHint: Boolean;

Indicates that hint message should be displayed.

Protected FHintMessage: string;
 
Protected FInitXGraphMax: Double;

Initial values set up just after file loading.

Protected FInitXGraphMin: Double;

Initial values set up just after file loading.

Protected FInitYGraphMax: Double;

Initial values set up just after file loading.

Protected FInitYGraphMin: Double;

Initial values set up just after file loading.

Public FModifiedDatasheet: Boolean;
 
Public FModifiedParameters: Boolean;

Indicates that MenuData in tables were changed.

Protected FSavedAmp: string;

Saved content of edited cells.

Protected FSavedPos: string;

Saved content of edited cells.

Protected FSenderEditHint: TNumericGrid;

The object created event FEditDone.

Public FSettings: Settings_v1;

Application settings. Type should be checked.

Protected FUpX: Integer;

These variables are used for separating clicks from area selection.

Protected FUpY: Integer;

These variables are used for separating clicks from area selection.

Public FValueIndex: LongInt;

Index of selected value.

Public GridBackground: TNumericGrid;
 
Public GridData: TNumericGrid;
 
Public GridDatasheet: TNumericGrid;
 
Public GridIntervals: TNumericGrid;
 
Public GridParameters: TNumericGrid;
 
Public GridSpecPositions: TNumericGrid;
 
Public ImageList1: TImageList;
 
Public ImageList2: TImageList;
 
Public Label1: TLabel;
 
Public Label2: TLabel;
 
Public Label4: TLabel;
 
Public Label5: TLabel;
 
Public LabelAngle: TLabel;
 
Public LabelIntensity: TLabel;
 
Public MainMenu: TMainMenu;
 
Public MenuAbout: TMenuItem;
 
Public MenuAnimationMode: TMenuItem;
 
Public MenuArgumentTransformation: TMenuItem;
 
Public MenuBackground: TMenuItem;
 
Public MenuBackgroundPoints: TMenuItem;
 
Public MenuComputCurvePositions: TMenuItem;
 
Public MenuComputeBackgroundPoints: TMenuItem;
 
Public MenuComputeRFactorBounds: TMenuItem;
 
Public MenuCopy: TMenuItem;
 
Public MenuCreateRule: TMenuItem;
 
Public MenuCurvePositions: TMenuItem;
 
Public MenuData: TMenuItem;
 
Public MenuDelete: TMenuItem;
 
Public MenuDoAllAutomatically: TMenuItem;
 
Public MenuEdit: TMenuItem;
 
Public MenuEnableBackgroundVariation: TMenuItem;
 
Public MenuEnableCurveScaling: TMenuItem;
 
Public MenuFile: TMenuItem;
 
Public MenuFit: TMenuItem;
 
Public MenuGlossary: TMenuItem;
 
Public MenuHelp: TMenuItem;
 
Public MenuLoadProfile: TMenuItem;
 
Public MenuMinimizeDifference: TMenuItem;
 
Public MenuMinimizeNumberOfCurves: TMenuItem;
 
Public MenuModel: TMenuItem;
 
Public MenuN2Theta: TMenuItem;
 
Public MenuN2Theta2: TMenuItem;
 
Public MenuQuit: TMenuItem;
 
Public MenuRange: TMenuItem;
 
Public MenuReload: TMenuItem;
 
Public MenuRemoveBackgroundPoints: TMenuItem;
 
Public MenuRemoveCurvePositions: TMenuItem;
 
Public MenuRemoveRFactorBounds: TMenuItem;
 
Public MenuRFactorIntervals: TMenuItem;
 
Public MenuSaveModelAsText: TMenuItem;
 
Public MenuSelectAll: TMenuItem;
 
Public MenuSelectAllPointsAsCurvePositions: TMenuItem;
 
Public MenuSelectBackgroundManually: TMenuItem;
 
Public MenuSelectCharacteristicPoints: TMenuItem;
 
Public MenuSelectCurveBounds: TMenuItem;
 
Public MenuSelectCurvePositionsManually: TMenuItem;
 
Public MenuSelectCurveType: TMenuItem;
 
Public MenuSelectDataInterval: TMenuItem;
 
Public MenuSelectEntireProfile: TMenuItem;
 
Public MenuSelectIntervalBounds: TMenuItem;
 
Public MenuSelectRFactorBoundsManually: TMenuItem;
 
Public MenuSeparator1: TMenuItem;
 
Public MenuSeparator10: TMenuItem;
 
Public MenuSeparator11: TMenuItem;
 
Public MenuSeparator12: TMenuItem;
 
Public MenuSeparator2: TMenuItem;
 
Public MenuSeparator3: TMenuItem;
 
Public MenuSeparator4: TMenuItem;
 
Public MenuSeparator5: TMenuItem;
 
Public MenuSeparator6: TMenuItem;
 
Public MenuSeparator7: TMenuItem;
 
Public MenuSeparator8: TMenuItem;
 
Public MenuSeparator9: TMenuItem;
 
Public MenuSetBackgroundFraction: TMenuItem;
 
Public MenuSetMaximumRFactor: TMenuItem;
 
Public MenuSetRuleParameters: TMenuItem;
 
Public MenuSetWavelength: TMenuItem;
 
Public MenuSinThetaLambda: TMenuItem;
 
Public MenuSinThetaLambda2: TMenuItem;
 
Public MenuSmoothProfile: TMenuItem;
 
Public MenuStopFit: TMenuItem;
 
Public MenuSubtractBackground: TMenuItem;
 
Public MenuSubtractBackgroundAutomatically: TMenuItem;
 
Public MenuSubtractBackgroundBySelectedPoints: TMenuItem;
 
Public MenuTheta: TMenuItem;
 
Public MenuTheta2: TMenuItem;
 
Public MenuUseRule: TMenuItem;
 
Public MenuView: TMenuItem;
 
Public MenuViewMarkers: TMenuItem;
 
Public MenuZoomIn: TMenuItem;
 
Public MenuZoomOut: TMenuItem;
 
Public OpenDialog: TOpenDialog;
 
Public PageControl: TPageControl;
 
Public Panel2: TPanel;
 
Public PanelBackground: TPanel;
 
Public PanelChart: TPanel;
 
Public PanelDatasheet: TPanel;
 
Public PanelIntervals: TPanel;
 
Public PanelLeft: TPanel;
 
Public PanelParameters: TPanel;
 
Public PanelRight: TPanel;
 
Public PanelSpecPositions: TPanel;
 
Public PanelTop: TPanel;
 
Public PopupViewMode: TPopupMenu;
 
Public SaveDialog: TSaveDialog;
 
Public ScrollBarX: TScrollBar;
 
Public ScrollBarY: TScrollBar;
 
Public SelCurveLorentzian: TMenuItem;
 
Public SplitterBottom: TSplitter;
 
Public SplitterChartRight: TSplitter;
 
Public SplitterLeftChart: TSplitter;
 
Public StatusBar: TStatusBar;
 
Public TabSheetBackground: TTabSheet;
 
Public TabSheetDatasheet: TTabSheet;
 
Public TabSheetIntervals: TTabSheet;
 
Public TabSheetParameters: TTabSheet;
 
Public TabSheetSpecPositions: TTabSheet;
 
Public TimerAsync: TTimer;
 
Public TimerBalloonHide: TTimer;
 
Public TimerBalloonShow: TTimer;
 
Public TimerCheckState: TTimer;
 
Public ToolBar1: TToolBar;
 
Public ToolBar2: TToolBar;
 
Public ToolBar3: TToolBar;
 
Public ToolBar4: TToolBar;
 
Public ToolBar5: TToolBar;
 
Public ToolBar6: TToolBar;
 
Public ToolButton1: TToolButton;
 
Public ToolButton10: TToolButton;
 
Public ToolButton11: TToolButton;
 
Public ToolButton12: TToolButton;
 
Public ToolButton13: TToolButton;
 
Public ToolButton14: TToolButton;
 
Public ToolButton15: TToolButton;
 
Public ToolButton16: TToolButton;
 
Public ToolButton2: TToolButton;
 
Public ToolButton3: TToolButton;
 
Public ToolButton4: TToolButton;
 
Public ToolButton5: TToolButton;
 
Public ToolButton6: TToolButton;
 
Public ToolButton7: TToolButton;
 
Public ToolButton8: TToolButton;
 
Public ToolButton9: TToolButton;
 

Methods

Public function SaveTableAsText(GridData: TNumericGrid): Boolean;

Saving curve parameters into text file.

Protected function GetConfigFileName: string;
 
Public procedure ActionAboutExecute(Sender: TObject);
 
Public procedure ActionAnimationModeExecute(Sender: TObject);
 
Public procedure ActionAnimationModeUpdate(Sender: TObject);
 
Public procedure ActionComputCurvePositionsExecute(Sender: TObject);
 
Public procedure ActionComputeBackgroundPointsExecute(Sender: TObject);
 
Public procedure ActionComputeRFactorBoundsExecute(Sender: TObject);
 
Public procedure ActionCopyExecute(Sender: TObject);
 
Public procedure ActionDeleteExecute(Sender: TObject);
 
Public procedure ActionDoAllAutomaticallyExecute(Sender: TObject);
 
Public procedure ActionEnableBackgroundVariationExecute(Sender: TObject);
 
Public procedure ActionEnableBackgroundVariationUpdate(Sender: TObject);
 
Public procedure ActionEnableCurveScalingExecute(Sender: TObject);
 
Public procedure ActionEnableCurveScalingUpdate(Sender: TObject);
 
Public procedure ActionLoadProfileExecute(Sender: TObject);
 
Public procedure ActionMinimizeDifferenceExecute(Sender: TObject);
 
Public procedure ActionMinimizeNumberOfCurvesExecute(Sender: TObject);
 
Public procedure ActionQuitExecute(Sender: TObject);
 
Public procedure ActionReloadDataExecute(Sender: TObject);
 
Public procedure ActionRemoveBackgroundPointsExecute(Sender: TObject);
 
Public procedure ActionRemoveCurvePositionsExecute(Sender: TObject);
 
Public procedure ActionRemoveRFactorBoundsExecute(Sender: TObject);
 
Public procedure ActionSaveModelAsTextExecute(Sender: TObject);
 
Public procedure ActionSelCurveExecute(Sender: TObject);
 
Public procedure ActionSelectAllExecute(Sender: TObject);
 
Public procedure ActionSelectAllPointsAsCurvePositionsExecute(Sender: TObject);
 
Public procedure ActionSelectBackgroundManuallyExecute(Sender: TObject);
 
Public procedure ActionSelectCharacteristicPointsExecute(Sender: TObject);
 
Public procedure ActionSelectCurveBoundsExecute(Sender: TObject);
 
Public procedure ActionSelectCurvePositionsManuallyExecute(Sender: TObject);
 
Public procedure ActionSelectDataIntervalExecute(Sender: TObject);
 
Public procedure ActionSelectEntireProfileExecute(Sender: TObject);
 
Public procedure ActionSelectIntervalBoundsExecute(Sender: TObject);
 
Public procedure ActionSelectRFactorBoundsManuallyExecute(Sender: TObject);
 
Public procedure ActionSetBackgroundFractionExecute(Sender: TObject);
 
Public procedure ActionSetMaximumRFactorExecute(Sender: TObject);
 
Public procedure ActionSmoothProfileExecute(Sender: TObject);
 
Public procedure ActionStopFitExecute(Sender: TObject);
 
Public procedure ActionSubtractBackgroundAutomaticallyExecute(Sender: TObject);
 
Public procedure ActionSubtractBackgroundBySelectedPointsExecute(Sender: TObject);
 
Public procedure ActionViewMarkersExecute(Sender: TObject);
 
Public procedure ActionZoomInExecute(Sender: TObject);
 
Public procedure ActionZoomOutExecute(Sender: TObject);
 
Public procedure AddUserCurveMenu(ct: Curve_type);

Adds menu item corresponding to user defined curve.

Public procedure ApplicationPropertiesHint(Sender: TObject);
 
Public procedure ButAddSelectedDataPointClick(Sender: TObject);
 
Public procedure ButAddSelectedDataPointToPositionsClick(Sender: TObject);
 
Public procedure ButAddSelectedPointToIntervalsClick(Sender: TObject);
 
Public procedure Chart1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer);
 
Public procedure ChartDrawReticule(Sender: TComponent; IndexSerie, Index, Xi, Yi: Integer; Xg, Yg: Double);
 
Public procedure ChartMouseDown(Sender: TOBject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
 
Public procedure ChartMouseUp(Sender: TOBject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
 
Public procedure CheckListBoxChanged;
 
Public procedure CheckListBoxLegendClick(Sender: TObject);
 
Public procedure CheckListBoxLegendDrawItem(Control: TWinControl; Index: Integer; ARect: TRect; State: TOwnerDrawState);
 
Public procedure CheckListBoxLegendKeyPress(Sender: TObject; var Key: Char);
 
Public procedure CreateMenuItem(Pos: LongInt; ct: Curve_type; ParentMenu: TMenuItem; OnClick: TNotifyEvent);

Creates single menu item.

Public procedure CreateUserCurveMenus;

Creates all menu items corresponding to user defined curves.

Public procedure CurvePositionsClick(Sender: TObject);
 
Public procedure DeleteUserCurve(ct: Curve_type);
 
Public procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
 
Public procedure FormCreate(Sender: TObject);
 
Public procedure FormDestroy(Sender: TObject);
 
Public procedure GridDataEditingDone(Sender: TObject);
 
Public procedure GridDataSelectEditor(Sender: TObject; aCol, aRow: Integer; var Editor: TWinControl);
 
Public procedure LoadDataFile(FileName: string);
 
Public procedure LoadTable;

Loading curve parameters from XML file.

Public procedure MenuModelClick(Sender: TObject);
 
Public procedure MenuN2ThetaClick(Sender: TObject);
 
Public procedure MenuSetWavelengthClick(Sender: TObject);
 
Public procedure MenuSinThetaLambdaClick(Sender: TObject);
 
Public procedure MenuThetaClick(Sender: TObject);
 
Public procedure PanelTopClick(Sender: TObject);
 
Public procedure ReadSettings;

Tries read the user settings object. In the case of failure creates new object.

Public procedure ReadUserCurves;

procedure AddDummyCurve; procedure DeleteDummyCurve;

Public procedure SaveTable;

Saving curve parameters into XML file.

Public procedure ScrollBarXChange(Sender: TObject);
 
Public procedure ScrollBarYChange(Sender: TObject);
 
Public procedure ShowHint(const Hint: string);
 
Public procedure ShowRFactor;
 
Public procedure ShowTime;
 
Public procedure TabSheetBackgroundResize(Sender: TObject);
 
Public procedure TabSheetBackgroundShow(Sender: TObject);
 
Public procedure TabSheetDatasheetShow(Sender: TObject);
 
Public procedure TabSheetIntervalsShow(Sender: TObject);
 
Public procedure TabSheetParametersShow(Sender: TObject);
 
Public procedure TabSheetSpecPositionsShow(Sender: TObject);
 
Public procedure TAChart1Zoom(Sender: TComponent);
 
Public procedure TimerAsyncTimer(Sender: TObject);
 
Public procedure TimerBalloonHideTimer(Sender: TObject);
 
Public procedure TimerBalloonShowTimer(Sender: TObject);
 
Public procedure TimerCheckStateTimer(Sender: TObject);
 
Public procedure WriteSettings;
 
Public procedure WriteUserCurve(CurveType: Curve_type);
 
Protected procedure AsyncOperationFinished(Sender: TObject);

Callback for calculating object.

Protected procedure CreateCurveTypeMenus;
 
Protected procedure DoEditHint;
 
Protected procedure OnChartClick;

The event OnClick of Chart arises between MouseUp and MouseDown. That is why OnClick is not used.

Protected procedure OnDeleteUserCurveClick(Sender: TObject);
 
Protected procedure OnException(Sender: TObject; E: Exception);
 
Protected procedure OnFindComponentClass(Reader: TReader; const ClassName: string; var ComponentClass: TComponentClass);
 
Protected procedure OnUserCurveClick(Sender: TObject);
 
Protected procedure SetAsyncState(State: TAsyncState);
 
Protected procedure SetHandleEditHint(EditHint: Boolean);
 
Protected procedure SetOpenState(State: TOpenState);

Sets states of controls according to state of file.

Protected procedure SetResState(State: TResState);
 
Protected procedure SetSelectionMode(ASelectionMode: TSelMode);
 
Protected procedure SetViewState(State: TViewState);

Sets states of controls responsible for changing chart display mode.

Protected procedure SubtractBackground(Auto: Boolean);

Wrapper.

Protected procedure UpdateBarsPos;
 

Properties

Public property HandleEditHint: Boolean read FHandleEditHint write SetHandleEditHint;
 

Generated by PasDoc 0.15.0.