Procedure

TfrmTemplateEditor.btnApplyClick

Module

fTemplateEditor

Last Modified

7/15/2014 3:26:44 PM

Visibility

Public/Published

Owner

TfrmTemplateEditor

Declaration

procedure btnApplyClick(Sender: TObject);

Calls Hierarchy


TfrmTemplateEditor.btnApplyClick
 ├TfrmTemplateEditor.ScanNames
 │ └ScanTree
 │   └BadTemplateName
 ├SaveAllTemplates
 │ ├SaveTemplate
 │ │ ├TTemplate.Changed
 │ │ │ ├TTemplate.ValidID
 │ │ │ └TTemplate.ItemIENs
 │ │ │   └TTemplate.GetItems
 │ │ │     └ExpandTemplate
 │ │ │       ├TTemplate.GetChildren
 │ │ │       ├GetTemplateChildren
 │ │ │       ├AddTemplate
 │ │ │       │ ├TTemplate.Create
 │ │ │       │ │ └TTemplate.ReminderDialogIEN
 │ │ │       │ └TTemplate.AddChild
 │ │ │       │   └TTemplate.GetItems...
 │ │ │       └TTemplate.ItemIENs...
 │ │ ├TTemplate.Unlock
 │ │ │ ├TTemplate.ValidID
 │ │ │ └UnlockTemplate
 │ │ ├TTemplate.GetBoilerplate
 │ │ │ └GetTemplateBoilerplate
 │ │ ├TTemplate.ReminderDialogIEN
 │ │ ├TTemplate.GetDescription
 │ │ │ └LoadTemplateDescription
 │ │ ├UpdateTemplate
 │ │ │ └UpdateTIURec
 │ │ ├DisplayErrors
 │ │ └TTemplate.ClearBackup
 │ │   └TTemplate.ItemIENs...
 │ ├TTemplate.ItemIENs...
 │ ├TTemplate.GetItems...
 │ ├UpdateChildren
 │ ├TTemplate.Unlock...
 │ ├DeleteTemplates
 │ └DisplayErrors
 ├BackupDiffers
 │ └TTemplate.Changed...
 └UnlockAllTemplates
   └TTemplate.Unlock...

Called-By Hierarchy


    TfrmTemplateEditor.btnApplyClick
TfrmTemplateEditor.mnuRefreshClick┘ 

Calls

Name Declaration Comments
BackupDiffers function BackupDiffers: boolean; -
SaveAllTemplates function SaveAllTemplates: boolean; -
TfrmTemplateEditor.ScanNames function ScanNames: boolean; -
UnlockAllTemplates procedure UnlockAllTemplates; -

Called-By

Name Declaration Comments
TfrmTemplateEditor.mnuRefreshClick procedure mnuRefreshClick(Sender: TObject); -


Source

664   procedure TfrmTemplateEditor.btnApplyClick(Sender: TObject);
665   begin
666     if (ScanNames) then
667     begin
668       SaveAllTemplates;
669       BtnApply.Enabled := BackupDiffers;
670       if not BtnApply.Enabled then
671         UnlockAllTemplates;
672     end;
673   end;