extassociation AccessMode property
Return to Introduction  Previous page  Next page
Applies to
acExtAssociation component.  

  TacShellExtAccessMode = (amReadOnly, amReadWrite);  
property AccessMode: TacShellExtAccessMode;  

The AccessMode property controls whether other properties of this component can be modified (whether the information about file type specified in the EXTENSION property can be modified).  
By default, AccessMode is amReadOnly. This means that you can only read the information but can not change the information for file type specified in EXTENSION property.  
Set AccessMode to amReadWrite to install new, or modify existing file type.  

iiwarning Please be careful on modifying the information of existing file types!! Your changes will override previous settings in the Windows shell!  

See also
EXTENSION property.