unit frExportPref;

{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils, FileUtil, LResources, Forms, Controls, StdCtrls;

type

  { TfraExportPref }

  TfraExportPref = class(TFrame)
    chkExSatMode: TCheckBox;
    chkAutoColumn: TCheckBox;
    chkexContestName: TCheckBox;
    chkexContestMsg: TCheckBox;
    chkexContestNr: TCheckBox;
    chkexDistance: TCheckBox;
    chkExRXFreq : TCheckBox;
    chkExSat : TCheckBox;
    chkExPropagation : TCheckBox;
    chkexAward : TCheckBox;
    chkexCall : TCheckBox;
    chkExCont : TCheckBox;
    chkexCounty : TCheckBox;
    chkexDate : TCheckBox;
    chkexDXCC : TCheckBox;
    chkexeQSLR : TCheckBox;
    chkexeQSLRDate : TCheckBox;
    chkexeQSLS : TCheckBox;
    chkexeQSLSDate : TCheckBox;
    chkexFreq : TCheckBox;
    chkexIOTA : TCheckBox;
    chkexITU : TCheckBox;
    chkexLoc : TCheckBox;
    chkexLQSLR : TCheckBox;
    chkexLQSLRDate : TCheckBox;
    chkexLQSLS : TCheckBox;
    chkexLQSLSDate : TCheckBox;
    chkexMode : TCheckBox;
    chkexMyLoc : TCheckBox;
    chkexOperator: TCheckBox;
    chkexName : TCheckBox;
    chkexNote : TCheckBox;
    chkexPower : TCheckBox;
    chkexQSLR : TCheckBox;
    chkexQSLRDate : TCheckBox;
    chkexQSLS : TCheckBox;
    chkexQSLSDate : TCheckBox;
    chkexQSLVIA : TCheckBox;
    chkexQTH : TCheckBox;
    chkexRemarks : TCheckBox;
    chkexRSTR : TCheckBox;
    chkexRSTS : TCheckBox;
    chkexState : TCheckBox;
    chkexTimeoff : TCheckBox;
    chkexTimeon : TCheckBox;
    chkexWAZ : TCheckBox;
    chkProfile : TCheckBox;
    chkAscTime : TCheckBox;
    chkDarcDok: TCheckBox;
    edtWAward1: TEdit;
    edtWCall1: TEdit;
    edtWContestMsg1: TEdit;
    edtWContestName1: TEdit;
    edtWContestNr1: TEdit;
    edtWCounty1: TEdit;
    edtWDistance1: TEdit;
    edtWDXCC1: TEdit;
    edtWeQSLR1: TEdit;
    edtWeQSLRDate1: TEdit;
    edtWeQSLS1: TEdit;
    edtWeQSLSDate1: TEdit;
    edtWIOTA1: TEdit;
    edtWITU1: TEdit;
    edtWLoc1: TEdit;
    edtWLQSLR1: TEdit;
    edtWLQSLRDate1: TEdit;
    edtWLQSLS1: TEdit;
    edtWLQSLSDate1: TEdit;
    edtWMyLoc1: TEdit;
    edtWNote1: TEdit;
    edtWOperator: TEdit;
    edtWOperator1: TEdit;
    edtWPower1: TEdit;
    edtWProfile: TEdit;
    edtWContinent1: TEdit;
    edtWProfile1: TEdit;
    edtWDate1: TEdit;
    edtWDistance: TEdit;
    edtWFreq1: TEdit;
    edtWMode1: TEdit;
    edtWName1: TEdit;
    edtWDarcDok1: TEdit;
    edtWDarcDok: TEdit;
    edtWProp : TEdit;
    edtWAward : TEdit;
    edtWCall : TEdit;
    edtWCounty : TEdit;
    edtWDate : TEdit;
    edtWDXCC : TEdit;
    edtWeQSLR : TEdit;
    edtWeQSLRDate : TEdit;
    edtWeQSLS : TEdit;
    edtWeQSLSDate : TEdit;
    edtWFreq : TEdit;
    edtWIOTA : TEdit;
    edtWITU : TEdit;
    edtWLoc : TEdit;
    edtWLQSLR : TEdit;
    edtWLQSLRDate : TEdit;
    edtWLQSLS : TEdit;
    edtWLQSLSDate : TEdit;
    edtWMode : TEdit;
    edtWMyLoc : TEdit;
    edtWName : TEdit;
    edtWNote : TEdit;
    edtWPower : TEdit;
    edtWContestName: TEdit;
    edtWContestNr: TEdit;
    edtWContestMsg: TEdit;
    edtWProp1: TEdit;
    edtWQSLR1: TEdit;
    edtWQSLRDate1: TEdit;
    edtWQSLS1: TEdit;
    edtWQSLSDate1: TEdit;
    edtWQSLVIA1: TEdit;
    edtWQTH1: TEdit;
    edtWRemarks1: TEdit;
    edtWRstR1: TEdit;
    edtWRstS1: TEdit;
    edtWRxFreq : TEdit;
    edtWContinent: TEdit;
    edtWRxFreq1: TEdit;
    edtWSatName : TEdit;
    edtWQSLR : TEdit;
    edtWQSLRDate : TEdit;
    edtWQSLS : TEdit;
    edtWQSLSDate : TEdit;
    edtWQSLVIA : TEdit;
    edtWQTH : TEdit;
    edtWRemarks : TEdit;
    edtWRstR : TEdit;
    edtWRstS : TEdit;
    edtWSatName1: TEdit;
    edtWSatMode1: TEdit;
    edtWSatMode: TEdit;
    edtWState : TEdit;
    edtWState1: TEdit;
    edtWTimeOff : TEdit;
    edtWTimeOff1: TEdit;
    edtWTimeOn : TEdit;
    edtWTimeOn1: TEdit;
    edtWWAZ : TEdit;
    edtWWAZ1: TEdit;
    lblField1 : TLabel;
    lblField2 : TLabel;
    lblField3 : TLabel;
    lblWidth1 : TLabel;
    lblWidth2 : TLabel;
    lblWidth3 : TLabel;
    lblHTML1: TLabel;
    lblHTML2: TLabel;
    lblHTML3: TLabel;
  private
    { private declarations }
  public
    procedure SaveExportPref;
    procedure LoadExportPref;
  end;
{
NOTE !!!
If you update any component property of this frame (.lfm), but do not add or remove any component,
changes do not update to inheriting form(s).
Only 100% sure way to update all to inheriting form is to delete frame from form and then add it
again with lazarus GUI toolbar "form" button. When this is done all form actions linked to frame components
are lost and they must be relinked again manually.
}

implementation
{$R *.lfm}

uses uMyIni;

procedure TfraExportPref.SaveExportPref;
begin
  cqrini.WriteBool('Export', 'Date', chkexDate.Checked);
  cqrini.WriteBool('Export', 'time_on', chkexTimeOn.Checked);
  cqrini.WriteBool('Export', 'time_off', chkexTimeOff.Checked);
  cqrini.WriteBool('Export', 'CallSign', chkexCall.Checked);
  cqrini.WriteBool('Export', 'Mode', chkexMode.Checked);
  cqrini.WriteBool('Export', 'Freq', chkexFreq.Checked);
  cqrini.WriteBool('Export', 'RST_S', chkexRSTS.Checked);
  cqrini.WriteBool('Export', 'RST_R', chkexRSTR.Checked);
  cqrini.WriteBool('Export', 'Name', chkexName.Checked);
  cqrini.WriteBool('Export', 'QTH', chkexQTH.Checked);
  cqrini.WriteBool('Export', 'QSL_S', chkexQSLS.Checked);
  cqrini.WriteBool('Export', 'QSL_R', chkexQSLR.Checked);
  cqrini.WriteBool('Export', 'QSL_VIA', chkexQSLVIA.Checked);
  cqrini.WriteBool('Export', 'Locator', chkexLoc.Checked);
  cqrini.WriteBool('Export', 'MyLoc', chkexMyLoc.Checked);
  cqrini.WriteBool('Export', 'Operator', chkexOperator.Checked);
  cqrini.WriteBool('Export', 'Distance', chkexDistance.Checked);
  cqrini.WriteBool('Export', 'IOTA', chkexIOTA.Checked);
  cqrini.WriteBool('Export', 'Award', chkexAward.Checked);
  cqrini.WriteBool('Export', 'County', chkexCounty.Checked);
  cqrini.WriteBool('Export', 'Power', chkexPower.Checked);
  cqrini.WriteBool('Export', 'DXCC', chkexDXCC.Checked);
  cqrini.WriteBool('Export', 'Remarks', chkexRemarks.Checked);
  cqrini.WriteBool('Export', 'WAZ', chkexWAZ.Checked);
  cqrini.WriteBool('Export', 'ITU', chkexITU.Checked);
  cqrini.WriteBool('Export', 'Note', chkexNote.Checked);
  cqrini.WriteBool('Export', 'Profile', chkProfile.Checked);
  cqrini.WriteBool('Export', 'State', chkexState.Checked);
  cqrini.WriteBool('Export', 'LQSLS', chkexLQSLS.Checked);
  cqrini.WriteBool('Export', 'LQSLSDate', chkexLQSLSDate.Checked);
  cqrini.WriteBool('Export', 'LQSLR', chkexLQSLR.Checked);
  cqrini.WriteBool('Export', 'LQSLRDate', chkexLQSLRDate.Checked);
  cqrini.WriteBool('Export', 'Continent', chkExCont.Checked);
  cqrini.WriteBool('Export', 'QSLSDate', chkexQSLSDate.Checked);
  cqrini.WriteBool('Export', 'QSLRDate', chkexQSLRDate.Checked);
  cqrini.WriteBool('Export', 'eQSLS', chkexeQSLS.Checked);
  cqrini.WriteBool('Export', 'eQSLSDate', chkexeQSLSDate.Checked);
  cqrini.WriteBool('Export', 'eQSLR', chkexeQSLR.Checked);
  cqrini.WriteBool('Export', 'eQSLRDate', chkexeQSLRDate.Checked);
  cqrini.WriteBool('Export', 'AscTime', chkAscTime.Checked);
  cqrini.WriteBool('Export', 'Prop', chkExPropagation.Checked);
  cqrini.WriteBool('Export', 'RxFreq', chkExRXFreq.Checked);
  cqrini.WriteBool('Export', 'SatName', chkExSat.Checked);
  cqrini.WriteBool('Export', 'SatMode', chkExSatMode.Checked);
  cqrini.WriteBool('Export', 'Contestname', chkexContestName.Checked);
  cqrini.WriteBool('Export', 'ContestNr', chkexContestNr.Checked);
  cqrini.WriteBool('Export', 'ContestMsg', chkexContestMsg.Checked);
  cqrini.WriteBool('Export', 'DarcDok', chkDarcDok.Checked);
  cqrini.WriteBool('Export', 'HTMLAutoColumn', chkAutoColumn.Checked);

  //group "none"
  cqrini.WriteString('Export', 'WDate', edtWDate.Text);
  cqrini.WriteString('Export', 'Wtime_on', edtWTimeOn.Text);
  cqrini.WriteString('Export', 'Wtime_off', edtWTimeOff.Text);
  cqrini.WriteString('Export', 'WCallSign', edtWCall.Text);
  cqrini.WriteString('Export', 'WMode', edtWMode.Text);
  cqrini.WriteString('Export', 'WFreq', edtWFreq.Text);
  cqrini.WriteString('Export', 'WRST_S', edtWRstS.Text);
  cqrini.WriteString('Export', 'WRST_R', edtWRstR.Text);
  cqrini.WriteString('Export', 'WName', edtWName.Text);
  cqrini.WriteString('Export', 'WQTH', edtWQTH.Text);
  cqrini.WriteString('Export', 'WQSL_S', edtWQSLS.Text);
  cqrini.WriteString('Export', 'WQSL_R', edtWQSLR.Text);
  cqrini.WriteString('Export', 'WQSL_VIA', edtWQSLVIA.Text);
  cqrini.WriteString('Export', 'WLocator', edtWLoc.Text);
  cqrini.WriteString('Export', 'WMyLoc', edtWMyLoc.Text);
  cqrini.WriteString('Export', 'WDistance', edtWDistance.Text);
  cqrini.WriteString('Export', 'WIOTA', edtWIOTA.Text);
  cqrini.WriteString('Export', 'WAward', edtWAward.Text);
  cqrini.WriteString('Export', 'WCounty', edtWCounty.Text);
  cqrini.WriteString('Export', 'WPower', edtWPower.Text);
  cqrini.WriteString('Export', 'WDXCC', edtWDXCC.Text);
  cqrini.WriteString('Export', 'WRemarks', edtWRemarks.Text);
  cqrini.WriteString('Export', 'WWAZ', edtWWAZ.Text);
  cqrini.WriteString('Export', 'WITU', edtWITU.Text);
  cqrini.WriteString('Export', 'WNote', edtWNote.Text);
  cqrini.WriteString('Export', 'WState', edtWState.Text);
  cqrini.WriteString('Export', 'WLQSLS', edtWLQSLS.Text);
  cqrini.WriteString('Export', 'WLQSLSDate', edtWLQSLSDate.Text);
  cqrini.WriteString('Export', 'WLQSLR', edtWLQSLR.Text);
  cqrini.WriteString('Export', 'WLQSLRDate', edtWLQSLRDate.Text);
  cqrini.WriteString('Export', 'WQSLSDate', edtWQSLSDate.Text);
  cqrini.WriteString('Export', 'WQSLRDate', edtWQSLRDate.Text);
  cqrini.WriteString('Export', 'WeQSLS', edtWeQSLS.Text);
  cqrini.WriteString('Export', 'WeQSLSDate', edtWeQSLSDate.Text);
  cqrini.WriteString('Export', 'WeQSLR', edtWeQSLR.Text);
  cqrini.WriteString('Export', 'WeQSLRDate', edtWeQSLRDate.Text);
  cqrini.WriteString('Export', 'WProp', edtWProp.Text);
  cqrini.WriteString('Export', 'WRxFreq', edtWRxFreq.Text);
  cqrini.WriteString('Export', 'WSatName', edtWSatName.Text);
  cqrini.WriteString('Export', 'WSatMode', edtWSatMode.Text);
  cqrini.WriteString('Export', 'WContinent', edtWContinent.Text);
  cqrini.WriteString('Export', 'WProfile', edtWProfile.Text);
  cqrini.WriteString('Export', 'WContestName', edtWContestName.Text);
  cqrini.WriteString('Export', 'WContestNr', edtWContestNr.Text);
  cqrini.WriteString('Export', 'WContestMsg', edtWContestMsg.Text);
  cqrini.WriteString('Export', 'WDarcDok', edtWDarcDok.Text);


  //group "one"
  cqrini.WriteString('Export', 'WDate1', edtWDate1.Text);
  cqrini.WriteString('Export', 'Wtime_on1', edtWTimeOn1.Text);
  cqrini.WriteString('Export', 'Wtime_off1', edtWTimeOff1.Text);
  cqrini.WriteString('Export', 'WCallSign1', edtWCall1.Text);
  cqrini.WriteString('Export', 'WMode1', edtWMode1.Text);
  cqrini.WriteString('Export', 'WFreq1', edtWFreq1.Text);
  cqrini.WriteString('Export', 'WRST_S1', edtWRstS1.Text);
  cqrini.WriteString('Export', 'WRST_R1', edtWRstR1.Text);
  cqrini.WriteString('Export', 'WName1', edtWName1.Text);
  cqrini.WriteString('Export', 'WQTH1', edtWQTH1.Text);
  cqrini.WriteString('Export', 'WQSL_S1', edtWQSLS1.Text);
  cqrini.WriteString('Export', 'WQSL_R1', edtWQSLR1.Text);
  cqrini.WriteString('Export', 'WQSL_VIA1', edtWQSLVIA1.Text);
  cqrini.WriteString('Export', 'WLocator1', edtWLoc1.Text);
  cqrini.WriteString('Export', 'WMyLoc1', edtWMyLoc1.Text);
  cqrini.WriteString('Export', 'WDistance1', edtWDistance1.Text);
  cqrini.WriteString('Export', 'WIOTA1', edtWIOTA1.Text);
  cqrini.WriteString('Export', 'WAward1', edtWAward1.Text);
  cqrini.WriteString('Export', 'WCounty1', edtWCounty1.Text);
  cqrini.WriteString('Export', 'WPower1', edtWPower1.Text);
  cqrini.WriteString('Export', 'WDXCC1', edtWDXCC1.Text);
  cqrini.WriteString('Export', 'WRemarks1', edtWRemarks1.Text);
  cqrini.WriteString('Export', 'WWAZ1', edtWWAZ1.Text);
  cqrini.WriteString('Export', 'WITU1', edtWITU1.Text);
  cqrini.WriteString('Export', 'WNote1', edtWNote1.Text);
  cqrini.WriteString('Export', 'WState1', edtWState1.Text);
  cqrini.WriteString('Export', 'WLQSLS1', edtWLQSLS1.Text);
  cqrini.WriteString('Export', 'WLQSLSDate1', edtWLQSLSDate1.Text);
  cqrini.WriteString('Export', 'WLQSLR1', edtWLQSLR1.Text);
  cqrini.WriteString('Export', 'WLQSLRDate1', edtWLQSLRDate1.Text);
  cqrini.WriteString('Export', 'WQSLSDate1', edtWQSLSDate1.Text);
  cqrini.WriteString('Export', 'WQSLRDate1', edtWQSLRDate1.Text);
  cqrini.WriteString('Export', 'WeQSLS1', edtWeQSLS1.Text);
  cqrini.WriteString('Export', 'WeQSLSDate1', edtWeQSLSDate1.Text);
  cqrini.WriteString('Export', 'WeQSLR1', edtWeQSLR1.Text);
  cqrini.WriteString('Export', 'WeQSLRDate1', edtWeQSLRDate1.Text);
  cqrini.WriteString('Export', 'WProp1', edtWProp1.Text);
  cqrini.WriteString('Export', 'WRxFreq1', edtWRxFreq1.Text);
  cqrini.WriteString('Export', 'WSatName1', edtWSatName1.Text);
  cqrini.WriteString('Export', 'WSatMode1', edtWSatMode1.Text);
  cqrini.WriteString('Export', 'WContinent1', edtWContinent1.Text);
  cqrini.WriteString('Export', 'WProfile1', edtWProfile1.Text);
  cqrini.WriteString('Export', 'WContestName1', edtWContestName1.Text);
  cqrini.WriteString('Export', 'WContestNr1', edtWContestNr1.Text);
  cqrini.WriteString('Export', 'WContestMsg1', edtWContestMsg1.Text);
  cqrini.WriteString('Export', 'WDarcDok1', edtWDarcDok1.Text);
end;

procedure TfraExportPref.LoadExportPref;
begin
  chkexDate.Checked := cqrini.ReadBool('Export', 'Date', True);
  chkexTimeOn.Checked := cqrini.ReadBool('Export', 'time_on', True);
  chkexTimeOff.Checked := cqrini.ReadBool('Export', 'time_off', False);
  chkexCall.Checked := cqrini.ReadBool('Export', 'CallSign', True);
  chkexMode.Checked := cqrini.ReadBool('Export', 'Mode', True);
  chkexFreq.Checked := cqrini.ReadBool('Export', 'Freq', True);
  chkexRSTS.Checked := cqrini.ReadBool('Export', 'RST_S', True);
  chkexRSTR.Checked := cqrini.ReadBool('Export', 'RST_R', True);
  chkexName.Checked := cqrini.ReadBool('Export', 'Name', True);
  chkexQTH.Checked := cqrini.ReadBool('Export', 'QTH', True);
  chkexQSLS.Checked := cqrini.ReadBool('Export', 'QSL_S', True);
  chkexQSLR.Checked := cqrini.ReadBool('Export', 'QSL_R', True);
  chkexQSLVIA.Checked := cqrini.ReadBool('Export', 'QSL_VIA', True);
  chkexLoc.Checked := cqrini.ReadBool('Export', 'Locator', False);
  chkexMyLoc.Checked := cqrini.ReadBool('Export', 'MyLoc', False);
  chkexOperator.Checked := cqrini.ReadBool('Export', 'Operator', False);
  chkexDistance.Checked := cqrini.ReadBool('Export', 'Distance', False);
  chkexIOTA.Checked := cqrini.ReadBool('Export', 'IOTA', False);
  chkexAward.Checked := cqrini.ReadBool('Export', 'Award', False);
  chkexCounty.Checked := cqrini.ReadBool('Export', 'County', False);
  chkexPower.Checked := cqrini.ReadBool('Export', 'Power', False);
  chkexDXCC.Checked := cqrini.ReadBool('Export', 'DXCC', False);
  chkexRemarks.Checked := cqrini.ReadBool('Export', 'Remarks', False);
  chkexWAZ.Checked := cqrini.ReadBool('Export', 'WAZ', False);
  chkexITU.Checked := cqrini.ReadBool('Export', 'ITU', False);
  chkexNote.Checked := cqrini.ReadBool('Export', 'Note', False);
  chkProfile.Checked := cqrini.ReadBool('Export', 'Profile', False);
  chkexState.Checked := cqrini.ReadBool('Export', 'State', False);
  chkexLQSLS.Checked := cqrini.ReadBool('Export', 'LQSLS', False);
  chkexLQSLSDate.Checked := cqrini.ReadBool('Export', 'LQSLSDate', False);
  chkexLQSLR.Checked := cqrini.ReadBool('Export', 'LQSLR', False);
  chkexLQSLRDate.Checked := cqrini.ReadBool('Export', 'LQSLRDate', False);
  chkExCont.Checked := cqrini.ReadBool('Export', 'Continent', False);
  chkexQSLSDate.Checked := cqrini.ReadBool('Export', 'QSLSDate', False);
  chkexQSLRDate.Checked := cqrini.ReadBool('Export', 'QSLRDate', False);
  chkexeQSLS.Checked := cqrini.ReadBool('Export', 'eQSLS', False);
  chkexeQSLSDate.Checked := cqrini.ReadBool('Export', 'eQSLSDate', False);
  chkexeQSLR.Checked := cqrini.ReadBool('Export', 'eQSLR', False);
  chkexeQSLRDate.Checked := cqrini.ReadBool('Export', 'eQSLRDate', False);
  chkAscTime.Checked := cqrini.ReadBool('Export', 'AscTime', False);
  chkExPropagation.Checked := cqrini.ReadBool('Export', 'Prop', False);
  chkExRXFreq.Checked := cqrini.ReadBool('Export', 'RxFreq', False);
  chkExSat.Checked := cqrini.ReadBool('Export', 'SatName', False);
  chkExSatMode.Checked := cqrini.ReadBool('Export', 'SatMode', False);
  chkexContestName.Checked := cqrini.ReadBool('Export', 'Contestname', False);
  chkexContestNr.Checked := cqrini.ReadBool('Export', 'ContestNr',False);
  chkexContestMsg.Checked := cqrini.ReadBool('Export', 'ContestMsg', False);
  chkDarcDok.Checked := cqrini.ReadBool('Export', 'DarcDok', False);
  chkAutoColumn.Checked := cqrini.ReadBool('Export', 'HTMLAutoColumn', False);


  //group "none"
  edtWDate.Text := cqrini.ReadString('Export', 'WDate', '10');
  edtWTimeOn.Text := cqrini.ReadString('Export', 'Wtime_on', '5');
  edtWTimeOff.Text := cqrini.ReadString('Export', 'Wtime_off', '5');
  edtWCall.Text := cqrini.ReadString('Export', 'WCallSign', '10');
  edtWMode.Text := cqrini.ReadString('Export', 'WMode', '6');
  edtWFreq.Text := cqrini.ReadString('Export', 'WFreq', '10');
  edtWRstS.Text := cqrini.ReadString('Export', 'WRST_S', '4');
  edtWRstR.Text := cqrini.ReadString('Export', 'WRST_R', '4');
  edtWName.Text := cqrini.ReadString('Export', 'WName', '20');
  edtWQTH.Text := cqrini.ReadString('Export', 'WQTH', '20');
  edtWQSLS.Text := cqrini.ReadString('Export', 'WQSL_S', '2');
  edtWQSLR.Text := cqrini.ReadString('Export', 'WQSL_R', '2');
  edtWQSLVIA.Text := cqrini.ReadString('Export', 'WQSL_VIA', '10');
  edtWLoc.Text := cqrini.ReadString('Export', 'WLocator', '6');
  edtWMyLoc.Text := cqrini.ReadString('Export', 'WMyLoc', '6');
  edtWDistance.Text := cqrini.ReadString('Export', 'WDistance', '5');
  edtWIOTA.Text := cqrini.ReadString('Export', 'WIOTA', '7');
  edtWAward.Text := cqrini.ReadString('Export', 'WAward', '10');
  edtWCounty.Text := cqrini.ReadString('Export', 'WCounty', '10');
  edtWPower.Text := cqrini.ReadString('Export', 'WPower', '4');
  edtWDXCC.Text := cqrini.ReadString('Export', 'WDXCC', '4');
  edtWRemarks.Text := cqrini.ReadString('Export', 'WRemarks', '100');
  edtWWAZ.Text := cqrini.ReadString('Export', 'WWAZ', '3');
  edtWITU.Text := cqrini.ReadString('Export', 'WITU', '3');
  edtWNote.Text := cqrini.ReadString('Export', 'WNote', '50');
  edtWState.Text := cqrini.ReadString('Export', 'WState', '10');
  edtWLQSLS.Text := cqrini.ReadString('Export', 'WLQSLS', '2');
  edtWLQSLSDate.Text := cqrini.ReadString('Export', 'WLQSLSDate', '10');
  edtWLQSLR.Text := cqrini.ReadString('Export', 'WLQSLR', '2');
  edtWLQSLRDate.Text := cqrini.ReadString('Export', 'WLQSLRDate', '10');
  edtWQSLSDate.Text := cqrini.ReadString('Export', 'WQSLSDate', '10');
  edtWQSLRDate.Text := cqrini.ReadString('Export', 'WQSLRDate', '10');
  edtWeQSLS.Text := cqrini.ReadString('Export', 'WeQSLS', '2');
  edtWeQSLSDate.Text := cqrini.ReadString('Export', 'WeQSLSDate', '10');
  edtWeQSLR.Text := cqrini.ReadString('Export', 'WeQSLR', '2');
  edtWeQSLRDate.Text := cqrini.ReadString('Export', 'WeQSLRDate', '10');
  edtWProp.Text := cqrini.ReadString('Export', 'WProp', '6');
  edtWRxFreq.Text := cqrini.ReadString('Export', 'WRxFreq', '10');
  edtWSatName.Text := cqrini.ReadString('Export', 'WSatName', '10');
  edtWSatMode.Text := cqrini.ReadString('Export', 'WSatMode', '10');
  edtWContinent.Text := cqrini.ReadString('Export', 'WContinent', '2');
  edtWProfile.Text := cqrini.ReadString('Export', 'WProfile', '20');
  edtWContestName.Text := cqrini.ReadString('Export', 'WContestName', '20');
  edtWContestNr.Text := cqrini.ReadString('Export', 'WContestNr', '4');
  edtWContestMsg.Text := cqrini.ReadString('Export', 'WContestMsg', '10');
  edtWDarcDok.Text := cqrini.ReadString('Export', 'WDarcDok', '10');

  //group "one"
  edtWDate1.Text := cqrini.ReadString('Export', 'WDate1', 'Date');
  edtWTimeOn1.Text := cqrini.ReadString('Export', 'Wtime_on1', 'Time on');
  edtWTimeOff1.Text := cqrini.ReadString('Export', 'Wtime_off1', 'Time off');
  edtWCall1.Text := cqrini.ReadString('Export', 'WCallSign1', 'Call');
  edtWMode1.Text := cqrini.ReadString('Export', 'WMode1', 'Mode');
  edtWFreq1.Text := cqrini.ReadString('Export', 'WFreq1', 'Freq');
  edtWRstS1.Text := cqrini.ReadString('Export', 'WRST_S1', 'RSTs');
  edtWRstR1.Text := cqrini.ReadString('Export', 'WRST_R1', 'RSTr');
  edtWName1.Text := cqrini.ReadString('Export', 'WName1', 'Name');
  edtWQTH1.Text := cqrini.ReadString('Export', 'WQTH1', 'QTH');
  edtWQSLS1.Text := cqrini.ReadString('Export', 'WQSL_S1', 'QSLs');
  edtWQSLR1.Text := cqrini.ReadString('Export', 'WQSL_R1', 'QSLr');
  edtWQSLVIA1.Text := cqrini.ReadString('Export', 'WQSL_VIA1', 'QSL via');
  edtWLoc1.Text := cqrini.ReadString('Export', 'WLocator1', 'Loc');
  edtWMyLoc1.Text := cqrini.ReadString('Export', 'WMyLoc1', 'MyLoc');
  edtWDistance1.Text := cqrini.ReadString('Export', 'WDistance1', 'QRB');
  edtWIOTA1.Text := cqrini.ReadString('Export', 'WIOTA1', 'IOTA');
  edtWAward1.Text := cqrini.ReadString('Export', 'WAward1', 'Award');
  edtWCounty1.Text := cqrini.ReadString('Export', 'WCounty1', 'County');
  edtWPower1.Text := cqrini.ReadString('Export', 'WPower1', 'Pwr');
  edtWDXCC1.Text := cqrini.ReadString('Export', 'WDXCC1', 'DXCC');
  edtWRemarks1.Text := cqrini.ReadString('Export', 'WRemarks1', 'Cmnt');
  edtWWAZ1.Text := cqrini.ReadString('Export', 'WWAZ1', 'WAZ');
  edtWITU1.Text := cqrini.ReadString('Export', 'WITU1', 'ITU');
  edtWNote1.Text := cqrini.ReadString('Export', 'WNote1', 'Note');
  edtWState1.Text := cqrini.ReadString('Export', 'WState1', 'State');
  edtWLQSLS1.Text := cqrini.ReadString('Export', 'WLQSLS1', 'LQSLs');
  edtWLQSLSDate1.Text := cqrini.ReadString('Export', 'WLQSLSDate1', 'LQSLSdat');
  edtWLQSLR1.Text := cqrini.ReadString('Export', 'WLQSLR1', 'LQSLr');
  edtWLQSLRDate1.Text := cqrini.ReadString('Export', 'WLQSLRDate1', 'LQSLRdat');
  edtWQSLSDate1.Text := cqrini.ReadString('Export', 'WQSLSDate1', 'QSLSdat');
  edtWQSLRDate1.Text := cqrini.ReadString('Export', 'WQSLRDate1', 'QSLRdat');
  edtWeQSLS1.Text := cqrini.ReadString('Export', 'WeQSLS1', 'eQSLs');
  edtWeQSLSDate1.Text := cqrini.ReadString('Export', 'WeQSLSDate1', 'eQSLSdat');
  edtWeQSLR1.Text := cqrini.ReadString('Export', 'WeQSLR1', 'eQSLr');
  edtWeQSLRDate1.Text := cqrini.ReadString('Export', 'WeQSLRDate1', 'eQSLRdat');
  edtWProp1.Text := cqrini.ReadString('Export', 'WProp1', 'Propag');
  edtWRxFreq1.Text := cqrini.ReadString('Export', 'WRxFreq1', 'RX Freq');
  edtWSatName1.Text := cqrini.ReadString('Export', 'WSatName1', 'Satellite');
  edtWSatMode1.Text := cqrini.ReadString('Export', 'WSatMode1', 'SAT Mode');
  edtWContinent1.Text := cqrini.ReadString('Export', 'WContinent1', 'Contin');
  edtWProfile1.Text := cqrini.ReadString('Export', 'WProfile1', 'Profile');
  edtWContestName1.Text := cqrini.ReadString('Export', 'WContestName1', 'Contest');
  edtWContestNr1.Text := cqrini.ReadString('Export', 'WContestNr1', 'Cont Nr');
  edtWContestMsg1.Text := cqrini.ReadString('Export', 'WContestMsg1', 'Cont Msg');
  edtWDarcDok1.Text := cqrini.ReadString('Export', 'WDarcDok1', 'DarcDok');

end;

end.

