Procedure

TTemplate.SetHideItems

Module

uTemplates

Last Modified

7/15/2014 3:26:44 PM

Visibility

Protected

Owner

TTemplate

Declaration

procedure SetHideItems(const Value: boolean);

Calls Hierarchy


TTemplate.SetHideItems
 ├TTemplate.CanModify
 │ ├TTemplate.ValidID
 │ └LockTemplate
 └TTemplate.ValidID

Called-By Hierarchy


                    TTemplate.SetHideItems
              TfrmTemplateEditor.cbClick┘ 
 TfrmTemplateEditor.cbDisplayOnlyClick┤   
   TfrmTemplateEditor.cbFirstLineClick┤   
 TfrmTemplateEditor.cbOneItemOnlyClick┤   
TfrmTemplateEditor.cbHideDlgItemsClick┤   
   TfrmTemplateEditor.cbHideItemsClick┤   
      TfrmTemplateEditor.cbIndentClick┤   
        TfrmTemplateEditor.cbLockClick┘   

Calls

Name Declaration Comments
TTemplate.CanModify function CanModify: boolean; -
TTemplate.ValidID function ValidID: boolean; -

Called-By

Name Declaration Comments
TfrmTemplateEditor.cbClick procedure cbClick(Sender: TCheckBox; Index: integer); -


Source

2311  procedure TTemplate.SetHideItems(const Value: boolean);
2312  begin
2313    if(FHideItems <> Value) and CanModify then
2314    begin
2315      with FBkup do
2316      begin
2317        if(not SavedHideItems) and ValidID then
2318        begin
2319          BHideItems := FHideItems;
2320          SavedHideItems := TRUE;
2321        end;
2322      end;
2323      FHideItems := Value;
2324    end;
2325  end;