shellproperties ShowPropertiesByFile method
Return to Introduction  Previous page  Next page
Applies to
dcShellProperties component.  

Declaration
function ShowPropertiesByFile(FileName: String): Boolean;  

Description
The ShowPropertiesByFile method shows the "Properties" dialog box for the shell object specified in the FileName parameter (value of the FileName property does not matter).  
 
ShowPropertiesByFile method returns True if succeeed, or False otherwise.  

Example (this line shows the properties of "c:\autoexec.bat" file):
dcShellProperties1.ShowPropertiesByFile('c:\autoexec.bat');  

See also
ShowProperties method.