Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

FinderSelectionMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Files MBS MacClassic Plugin 8.2 Yes No No No No
Function: A class to query the Finder for the current selection.
Example:
dim f as new FinderSelectionMBS
dim i,n as Integer
dim a(-1) as string
dim g as FolderItem

f.GetSelection
if f.LastError=0 then
n=f.CountItems

for i=1 to n
g=f.Item(i)
if g<>nil then
a.Append g.DisplayName
end if
next
end if

MsgBox Join(a,EndOfLine)

Feedback, Comments & Corrections

This class has no sub classes.

Some examples which use this class:


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


FileMappingViewMBS   -   FolderChangedNotificationMBS





Links
MBS Xojo PDF Plugins