Changeset 16 for trunk/UFormList.pas
- Timestamp:
- Jan 8, 2016, 5:09:58 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UFormList.pas
r4 r16 13 13 14 14 TFormList = class(TForm) 15 CheckBoxAccessible: TCheckBox; 15 16 Label1: TLabel; 16 17 Memo1: TMemo; … … 28 29 29 30 uses 30 UFormMain ;31 UFormMain, UKConfig; 31 32 32 33 {$R *.lfm} … … 37 38 var 38 39 List: TStringList; 40 I: Integer; 39 41 begin 40 42 try … … 43 45 Memo1.Lines.Clear; 44 46 FormMain.Config.TopNode.SaveToList(List); 47 if CheckBoxAccessible.Checked then 48 for I := List.Count - 1 to 0 do 49 if not TMenuNode(List.Objects[I]).CanBeVisible then 50 List.Delete(I); 45 51 List.Sort; 46 52 Memo1.Lines.Assign(List);
Note:
See TracChangeset
for help on using the changeset viewer.