Knowledge Base

ShellBrowser Delphi Components

Question / Problem

I want to get the file extension although it`s hidden in the Windows Explorer, but the function ShellBrowser.GetShellObjectName returns the file name without caption. How can I retrieve the complete filename including the extension?

Answer / Solution

This is the intended behavior of the ShellBrowser.GetShellObjectName method. To get a file system name please use the ShellBrowser.ObjectName property.