Opening a folder in finder

I am wondering what function to use or method to called in mac OS X to open a folder in finder directly from a XOJO application based on a folder name that is kept in the database.

Not in front of my machine to test, but FolderItem.Launch should do it.

If the folderitem is a file, just use parent to point to the containing folder and launch it. That will open that folder in a new finder window.

let me try now

thanks guy. it work.