JVCL Help:TJvComputerInfoEx.ReadOnly

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Specifies whether the class is read-only.


Pascal

 propertyReadOnly: Boolean;


Description

Use ReadOnly to specify whether assigning to a property at run-time raises an exception or not. Set ReadOnly to true to avoid inadvertently changing properties on the end-users computer. When you set ReadOnly to true, all subclasses of TJvComputerInfoEx that are derived from TJvWriteableInfo will have their ReadOnly property changed as well. Thus, you do not have to change each subclass individually.
To make some subclasses read-only and some read-write, set ReadOnly of TJvComputerInfoEx to False and then set the ReadOnly property of individual subclasses as you see fit.
Classes derived from TJvReadOnlyInfo do not have a ReadOnly property since they are read-only by design.


See Also

TJvReadOnlyInfo, TJvWriteableInfo


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page