FileComboBox

Object List Hierarchy Next Object

Definition:

A ComboBox designed to contain files.

Icon: images/Phx00151.gif

Specialized Features:

The following tables list and describe the properties added by FileComboBox. There are no added methods or events.


Properties Use to...


Ctrl3d Enable the 3-D effects for the Control.

DropHeight Control how tall the drop-down list of a FileComboBox will be.

Filter Specify the filters that are displayed in the list area of the file type FileComboBox.

ItemHeight Determine the height of a single item. (Read only)

ListCount Specify the number of items in the list portion of the control.

ListIndex Return the index number of the currently selected item in a control.

Path Specify the path to display.

SelPath Determine the exact path to the highlighted entry.

SelType Determine if the highlighted entry is a File, Directory, Drive, or nothing.

ShowDirs Specify if a directory should be displayed.

ShowDrives Specify if drives should be displayed.

ShowFiles Specify if files should be displayed.

Sorted Determine whether the elements of a FileComboBox are sorted alphabetically by Phoenix.


Methods Use to...


AddItem Add a new item to a FileComboBox.

Clear Clear the contents of a FileComboBox.

FindString Locate the requested string prefix in the FileComboBox.

InsertItem Insert a new item at a given index.

ItemIndex Find the index of a given string.

List Find the string at a given index.

RemoveItem Remove a specified item from a FileComboBox.

SelectDrive Force the system to highlight a specific drive.

TextUnload Append to 'cmds' any statements necessary to regenerate the object from text. It is used by the text-based object saving mechanism that is used by the write module (as text) functions.


Events Use to...


DropDown Occur when the list portion of a combo box is about to drop down below the edit area to display the list.

Copied Features:

images/Phx00152.gif Properties images/Phx00153.gif Methods images/Phx00154.gif Events

Details:

A FileComboBox is a Dropdown style ComboBox that is filled with the files specified in the properties of the FileComboBox. It combines the features of a
FileListBox and a ComboBox.