Platforms to show: All Mac Windows Linux Cross-Platform

WinFileOpenDialogMBS.Constructor
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: The constructor.

Feedback, Comments & Corrections

WinFileOpenDialogMBS.Results as WinShellItemArrayMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Gets the user's choices in a dialog that allows multiple selection.
Example:
Dim d As WinFileOpenDialogMBS // your dialog
Dim items As WinShellItemArrayMBS = d.Results

Dim c As Integer = items.Count
For i As Integer = 0 To c-1
Dim item As WinShellItemMBS = items.Item(i)

Listbox1.AddRow item.NativePath
Next
Notes:
This method can be used whether the selection consists of a single item or multiple items.

Result property can be called after the dialog has closed or during the handling of an OnFileOk event. Calling this method at any other time will fail.
Show must return a success code for a result to be available to Result/Results.

Feedback, Comments & Corrections

WinFileOpenDialogMBS.SelectedItems as WinShellItemArrayMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Navigation MBS WinFrameworks Plugin 20.1 ❌ No ✅ Yes ❌ No ❌ No Desktop only
Function: Gets the currently selected items in the dialog. These items may be items selected in the view, or text selected in the file name edit box.
Notes: This method can be used for single item or multiple item selections. If the user has entered new text in the file name field, this can be a time-consuming operation. When the application calls this method, the application parses the text in the filename field. For example, if this is a network share, the operation could take some time. However, this operation will not block the UI, since the user should able to stop the operation, which will result in SelectedItems raising an exception).

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS WinFrameworks Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins

Start Chat