Xojo Conferences
MBSOct2019CologneDE

Platforms to show: All Mac Windows Linux Cross-Platform

VolResolveIDMBS(volume as FolderItem, id as Integer) as FolderItem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Files MBS MacClassic Plugin Yes No No Yes, macOS only No
Function:
return a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.
The first parameter specified the volume where you want to resolve the ID on.
Example:
dim f,g as folderItem
f=SpecialFolder.Desktop
g=VolResolveIDMBS(f,f.MacDirID)
msgBox f.NativePath
Notes: This function returns a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.

See also:

Feedback, Comments & Corrections

VolResolveIDMBS(vRefNum as Integer, id as Integer) as FolderItem
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Files MBS MacClassic Plugin Yes No No Yes, macOS only No
Function:
return a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.
The first parameter specified the volume where you want to resolve the ID on.
Example:
dim f,g as folderItem
f=SpecialFolder.Desktop
g=VolResolveIDMBS(f.macVRefNum,f.MacDirID)
msgBox f.NativePath
Notes:
This function returns a FolderItem for a passed FileID or DirID. If the item can not be resolved, nil is returned instead.
The first parameter specified the volume where you want to resolve the ID on.There is a bug in RB which may say "type mistmatch error" in RB. Than use the other variant of that function.

See also:

Blog Entries

Feedback, Comments & Corrections

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

The biggest plugin in space...




Links
MBS FileMaker blog