Procedure

TfrmTemplateEditor.cbShHideClick

Module

fTemplateEditor

Last Modified

7/15/2014 3:26:44 PM

Visibility

Public/Published

Owner

TfrmTemplateEditor

Declaration

procedure cbShHideClick(Sender: TObject);

Calls Hierarchy


TfrmTemplateEditor.cbShHideClick
 ├TdmodShared.Resync
 │ ├InSyncNode
 │ ├GetID
 │ │ └..(rec)..
 │ ├TTemplate.RemoveNode
 │ ├BuildNodes
 │ │ ├TTemplate.AddNode
 │ │ ├TTemplate.GetItems
 │ │ │ └ExpandTemplate
 │ │ │   ├TTemplate.GetChildren
 │ │ │   ├GetTemplateChildren
 │ │ │   ├AddTemplate
 │ │ │   │ ├TTemplate.Create
 │ │ │   │ │ └TTemplate.ReminderDialogIEN
 │ │ │   │ └TTemplate.AddChild
 │ │ │   │   └TTemplate.GetItems...
 │ │ │   └TTemplate.ItemIENs
 │ │ │     └TTemplate.GetItems...
 │ │ ├..(rec)..
 │ │ └TTemplate.GetChildren
 │ └GetNode
 │   └GetID...
 ├TfrmTemplateEditor.tvTreeChange
 │ ├TfrmTemplateEditor.ChangeTree
 │ ├TfrmTemplateEditor.IsTemplateLocked
 │ │ ├TTemplate.AutoLock
 │ │ │ └TTemplate.LinkType
 │ │ ├TTemplate.IsLocked
 │ │ │ └TTemplate.AutoLock...
 │ │ └..(rec)..
 │ ├TfrmTemplateEditor.EnableControls
 │ │ ├TfrmTemplateEditor.UpdateInsertsDialogs
 │ │ │ ├TfrmTemplateObjects.UpdateStatus
 │ │ │ └TfrmTemplateFields.UpdateStatus
 │ │ │   └TfrmTemplateFields.ValidInsert
 │ │ └TfrmTemplateEditor.EnableNavControls
 │ │   └TfrmTemplateEditor.AllowMove
 │ │     ├TfrmTemplateEditor.IsTemplateLocked...
 │ │     └TTemplate.GetItems...
 │ └TfrmTemplateEditor.ShowInfo
 │   ├TfrmTemplateEditor.ShowTemplateType
 │   ├TfrmTemplateEditor.GetLinkType
 │   ├LoadServiceListWithSynonyms
 │   ├TTemplate.LinkName
 │   │ ├GetLinkName
 │   │ │ └ExternalName
 │   │ ├TTemplate.LinkIEN
 │   │ └TTemplate.LinkType
 │   ├TTemplate.LinkIEN
 │   ├TTemplate.GetDescription
 │   │ └LoadTemplateDescription
 │   ├TTemplate.IsLocked...
 │   ├TTemplate.AutoLock...
 │   ├TfrmTemplateEditor.IsTemplateLocked...
 │   ├TTemplate.GetChildren
 │   ├TTemplate.ReminderDialogIEN
 │   ├TdmodShared.InDialog
 │   │ └TTemplate.IsDialog
 │   ├TTemplate.GetBoilerplate
 │   │ └GetTemplateBoilerplate
 │   ├TfrmTemplateEditor.DisplayBoilerplate
 │   │ ├TfrmTemplateEditor.pnlBoilerplateResize
 │   │ ├TTemplate.GetBoilerplate...
 │   │ ├TTemplate.FullBoilerplate
 │   │ │ ├TTemplate.GetBoilerplate...
 │   │ │ ├TTemplate.ItemBoilerplate
 │   │ │ │ ├TTemplate.GetItems...
 │   │ │ │ ├TTemplate.GetTemplateType
 │   │ │ │ ├DlgText
 │   │ │ │ └TTemplate.DialogProperties
 │   │ │ │   ├TTemplate.GetBoilerplate...
 │   │ │ │   └TTemplate.DlgID
 │   │ │ ├DlgText
 │   │ │ └TTemplate.DialogProperties...
 │   │ ├TfrmTemplateEditor.UpdateInsertsDialogs...
 │   │ ├TfrmTemplateEditor.ShowBoilerPlate
 │   │ └TfrmTemplateEditor.ShowGroupBoilerplate
 │   ├TfrmTemplateEditor.ShowGroupBoilerplate
 │   └TfrmTemplateEditor.pnlBoilerplateResize
 └TfrmTemplateEditor.EnableNavControls...

Called-By Hierarchy


  TfrmTemplateEditor.cbShHideClick
TfrmTemplateEditor.cbActiveClick┘ 

Calls

Name Declaration Comments
TfrmTemplateEditor.EnableNavControls procedure EnableNavControls; -
TdmodShared.Resync procedure Resync(SyncNode: TTreeNode; AllowInactive: boolean; var EmptyCount: integer); -
TfrmTemplateEditor.tvTreeChange procedure tvTreeChange(Sender: TObject; Node: TTreeNode); -

Called-By

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


Source

1431  procedure TfrmTemplateEditor.cbShHideClick(Sender: TObject);
1432  var
1433    Node: TTreeNode;
1434  
1435  begin
1436    Node := tvShared.Items.GetFirstNode;
1437    while assigned(Node) do
1438    begin
1439      dmodShared.Resync(Node, not cbShHide.Checked, FSharedEmptyNodeCount);
1440      Node := Node.getNextSibling;
1441    end;
1442    tvTreeChange(tvShared, tvShared.Selected);
1443    EnableNavControls;
1444  end;