Returns the list of WINDEV or WEBDEV analyses (in HFSQL Classic format) available in a given directory. The search is performed recursively in the entire tree structure of the specified directory.
// Fills a Combo Box control with the list of analyses
// found in \My Directories
ListAdd(COMBO_Combo, HListAnalysis("\My Directories"))
// Fills a multiline edit control
// By using commas and CRs as separator
EDT_Edit1 = HListAnalysis("\My Projects", "," + CR)
<Result> = HListAnalysis(<Search directory> [, <Separator>])
<Result>: Character string
Full name of the analyses found, in the following format:
<analysis 1> + <separator> + <analysis 2> +...
where <analysis X> corresponds to the full name of the analysis (.WDD) found.
<Search directory>: Character string
Path of the directory where the search for analyses must start. If this parameter is set to "*" or to "*:\", all the directories on all the accessible drives will be searched (depending on the case, this search can take quite a long time).
<Separator>: Optional character string
Character string used to separate the different analyses in <Result>. If this parameter is not specified, CR (Carriage return) is used by default.
Displaying the result in a List Box or Combo Box control
If Carriage Return (CR) is used as separator, <Result> can be directly assigned to a List Box or Combo Box control with ListAdd
. Each row will contain the full name of one of the analyses found.
Business / UI classification: Business Logic