Platforms to show: All Mac Windows Linux Cross-Platform
WinShellItemMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Navigation | MBS WinFrameworks Plugin | 20.1 | ❌ No | ✅ Yes | ❌ No | ❌ No | Desktop only |
All methods may raise WinFileDialogExceptionMBS in case of errors.
- 6 properties
- property DisplayName as String
- property Handle as Integer
- property Item as FolderItem
- property NativePath as String
- property Parent as WinShellItemMBS
- property URLPath as String
- 6 methods
- method Compare(other as WinShellItemMBS, Mode as Integer = 0) as Integer
- method Constructor(item as folderItem)
- method Constructor(path as String)
- method Operator_Compare(other as WinShellItemMBS) as Integer
- method ReadData as String
- method Thumbnail(preferredSize as Integer) as Picture
- 4 constants
Comparison Modes
Constant | Value | Description |
---|---|---|
kCompareAllFields | &h80000000 |
Exact comparison of two instances of a Shell item. |
kCompareCanonical | &h10000000 |
Comparison is based on a canonical name. |
kCompareDisplayName | 0 |
Comparison based on the display name in a folder view. |
kCompareTestFileSystemPathIfNotEqual | &h20000000 |
Windows 7 and later. If the Shell items are not the same, test the file system paths. |
This class has no sub classes.
Some methods using this class:
- WinFileDialogMBS.AddPlace(Item as WinShellItemMBS, top as boolean = false)
- WinShellItemArrayMBS.Item(index as Integer) as WinShellItemMBS
Some properties using for this class:
- WinFileDialogMBS.CurrentSelection as WinShellItemMBS
- WinFileDialogMBS.DefaultFolder as WinShellItemMBS
- WinFileDialogMBS.Folder as WinShellItemMBS
- WinFileDialogMBS.Result as WinShellItemMBS
- WinFileSaveDialogMBS.SaveAsItem as WinShellItemMBS
- WinShellItemMBS.Parent as WinShellItemMBS
Some events using this class:
- WinFileDialogMBS.FolderChanging(Folder as WinShellItemMBS) as boolean
- WinFileDialogMBS.Overwrite(item as WinShellItemMBS) as Integer
- WinFileDialogMBS.ShareViolation(item as WinShellItemMBS) as Integer
Some examples using this class:
Blog Entries
- News from the MBS Xojo Plugins Version 20.1
- MBS Xojo Plugins, version 20.1pr3
- Customized File Open and Save Dialogs for Windows
Release notes
- Version 20.1
- Added Windows file dialog classes: WinFileDialogMBS, WinFileDialogExceptionMBS, WinFileTypeMBS, WinShellItemMBS, WinFileSaveDialogMBS, WinFileOpenDialogMBS, WinShellItemArrayMBS.
The items on this page are in the following plugins: MBS WinFrameworks Plugin.
WinShellItemArrayMBS - WinSparkleMBS