OpenDialog.Count

From Xojo Documentation

Revision as of 18:49, 20 June 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Integer )
aOpenDialog.Count = newIntegerValue
or
IntegerValue = aOpenDialog.Count

New in 2010r4

Supported for all project types and targets.

The number of items selected by the user in the OpenDialog. If MultiSelect is True, the number can be greater than 1.

Example

The following gets the number of items the user selected. In this case, it will be 1 since MultiSelect is not selected.

Dim f As FolderItem = dlg.ShowModal
Dim i As Integer = dlg.Count