import "ecere"
-import "ede"
+import "EDE"
class FileSystemBoxTestWindow : Window
{
TabControl tabControl { this, background = activeBorder, anchor = { left = 4, top = 4, right = 4, bottom = 4 } };
FileListTab fileListTab { tabControl };
+ JustFilesTab justFilesTab { tabControl };
FolderListTab folderListTab { tabControl };
FileTreeTab fileTreeTab { tabControl };
FolderTreeTab folderTreeTab { tabControl };
FileSystemBox box
{
this;
+ navigateFolders = true;
+ anchor = { left = 4, top = 4, right = 4, bottom = 4 };
+ };
+}
+
+class JustFilesTab : TestTab
+{
+ text = "JustFiles";
+
+ FileSystemBox box
+ {
+ this;
+ filesOnly = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
{
this;
foldersOnly = true;
+ navigateFolders = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
{
this;
treeBranches = true;
+ navigateFolders = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
this;
treeBranches = true;
foldersOnly = true;
+ navigateFolders = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
{
this;
details = true; // TODO: figure out why commented out (see FileSystemBox) code crashes the form designer
+ navigateFolders = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
{
this;
extensions = "epj, ec";
+ navigateFolders = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
{
this;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
-
extensions = "txt, text, nfo, info";
treeBranches = true;
};
{
this;
path = "/";
+ navigateFolders = true;
anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}
{
this;
path = "/";
- anchor = { left = 4, top = 4, right = 4, bottom = 4 };
-
treeBranches = true;
+ navigateFolders = true;
+ anchor = { left = 4, top = 4, right = 4, bottom = 4 };
};
}