FileSelector

The FileSelector component provides a user interface component to grant the user access to select a file from the file system. This component is often used in conjunction with Open and Save menu events.

FileSelector Properties

size as integer
The number of files to display in the file selector. This property often affects the height of the displayed interface. This size does not affect the actual number of items within the file selector; it only affects how many are visible at one time.

selection as string
The name of the selected file without any path information. For example, "README.TXT' is a valid selection.

path as string
The path of the selected file relative to the current disk, including the filename in question. For example, if the current disk is stored as "C:" then a path may take the form of "\NEWDEAL\README.TXT"

disk as string
A full string description of the current disk that the selected file is stored on. For example, "C:" is a valid disk value.

filename as string
The full path description to the current selection including all disk information. This property effectively returns ".disk" appended with ".path". For example, in the above descriptions, the full filename would appear as "C:\NEWDEAL\README.TXT"

FileSelector Events

None.

FileSelector Actions

None.