Created 2014-10-28 11:06:18 by Nils G. Svedmyr on NILS-W540 [ Header and license information ]

Class List


Class cReadDirComboform

Source: CREADDIRCOMBOFORM.PKG
Baseclass: ComboForm


Properties

Procedures

psFilePath - Property
Path to the directory that is to be scanned for files.

psExtension - Property
Filename extention to scan for.

psDefaultDataVal - Property
This is the default value in a filled combo.
I.e. If you have a previously selected value from the
combo and you want the combo to have this value selected
when the combo is initialized, set this property.

DoAddFolderFiles - Procedure
Fills the combo with files.
It uses the psExtension to know what file extention to search for.
Also uses the psFilePath to know which directory to search.

DoReadFolder Integer iChannel String sInputDirMask - Procedure
Helper procedure for the DoAddFolderFiles message.
Takes a direct_input channel and a input directory mask
as parameters.
Adds all found files to the combolist.


Header and license information

****************************************************************************
$Module type: Class
$Module name: cReadDirComboform.pkg
$Author : Nils G. Svedmyr, RDC Tools International
Created : 2007-09-12 @ 21:55
*
Description : A Comboform class that dynamically reads the
file content of a folder and populate the comboform
list whith those files during object creation.
*
It will _not_ search subfolders.
*
The psExtension property can handle two values, if
separated with a semicolon (;) e.g. "*.msstyles;*.cjstyles"
*
$Rev History:
2008-03-06 Module header created
****************************************************************************