Ignore:
Timestamp:
Jul 7, 2010, 4:31:10 PM (14 years ago)
Author:
Kevin Toppenberg
Message:

Upgrade to version 27

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cprs/trunk/CPRS-Chart/Templates/fTemplateFieldEditor.pas

    r456 r829  
    66  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
    77  ORCtrls, StdCtrls, ExtCtrls, Menus, ComCtrls, uTemplateFields, ORFn,
    8   ToolWin, MenuBar, ORClasses, ORDtTm;
     8  ToolWin, MenuBar, ORClasses, ORDtTm, fBase508Form, VA508AccessibilityManager;
    99
    1010type
    11   TfrmTemplateFieldEditor = class(TForm)
     11  TfrmTemplateFieldEditor = class(TfrmBase508Form)
    1212    pnlBottom: TPanel;
    1313    btnOK: TButton;
     
    184184
    185185uses rTemplates, fTemplateDialog, Clipbrd, uSpell, uConst,
    186      fTemplateFields;
     186     fTemplateFields, VAUtils;
    187187
    188188{$R *.DFM}
     
    470470  FUpdating := TRUE;
    471471  try
    472     cbxDefault.Items.Assign(reItems.Lines);
     472    QuickCopy(reItems, cbxDefault);
    473473    idx := -1;
    474474    if(assigned(FFld)) and reItems.Visible and cbxDefault.Visible then
     
    509509  tmp := TORStringList.Create;
    510510  try
    511     tmp.Assign(SubSetOfTemplateFields(StartFrom, Direction));
     511    FastAssign(SubSetOfTemplateFields(StartFrom, Direction), tmp);
    512512    for i := 0 to FDeleted.Count-1 do
    513513    begin
     
    516516        tmp.delete(idx);
    517517    end;
    518     ConvertCodes2Text(tmp, TRUE);
     518    ConvertCodes2Text(tmp, FALSE);
    519519    cbxObjs.ForDataUse(tmp);
    520520  finally
     
    815815    if FDeleted.IndexOfPiece(FFld.FldName, U, 2) >= 0 then
    816816    begin
    817       ShowMessage('Template field can not be named the same as a deleted' + CRLF +
     817      ShowMsg('Template field can not be named the same as a deleted' + CRLF +
    818818                  'field until OK or Apply has been pressed.');
    819819      bad := TRUE;
Note: See TracChangeset for help on using the changeset viewer.