JVCL Help:TJvCustomInspectorData.CheckWriteAccess

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

Search in JVCL Help

 
Search in all projects
 

Summary

Checks if the data can be written.


Pascal

 procedureCheckWriteAccess; virtual;


Description

CheckWriteAccess checks if the data can be written. If the data can't be written, an exception will be generated.
CheckWriteAccess will check if IsInitialized and HasValue (in that order) return True. If any check fails, an exception will be generated, stating the reason why the data can't be written.
CheckWriteAccess should be called from all SetAsxxxxxx methods before any data is written. Descendants can optionally provide additional checks by overriding this method.


See Also

TJvCustomInspectorData.CheckReadAccess, TJvCustomInspectorData.HasValue, TJvCustomInspectorData.IsInitialized


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