JVCL Help:TJvCustomAppStorage.IsFolder

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Determines if the specified path is a folder.


Pascal

 functionIsFolder(constPath: string; ListIsValue: Boolean = True): Boolean;


Parameters

Parameters Description
const Path: string Path (relative to the current path) to check.
ListIsValue: Boolean = True Flag to interpret a list as value or not.


Description

IsFolder determines if the specified path refers to a folder or a value. The specified path is considered to be a folder if:

  • It has sub folders or values
  • ListIsValue is False or if it's True the path does not refer to a list (a folder is considered a list if it contains the Count value and only Itemx values; if it contains other values as well it's considered to be a folder and a value).

If the specified path refers to a folder IsFolder returns True, otherwise False is returned.


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page