JVCL Help:TJvBaseDataContext.DoSetName

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

Search in JVCL Help

 
Search in all projects
 

Summary

Change the name of the context.


Pascal

 procedureDoSetName(Value: string); virtual; abstract;


Parameters

Parameters Description
Value: string New name of the context.


Description

DoSetName is responsible for setting the name of the context. The method does not check if the specified name is unique, nor will it trigger any notification callbacks.
DoSetName is called by the implementation of SetName, which will check uniqueness of the name first and trigger the change notification callback afterwards.
Descendants should override this method if the descendant implements the Name method as well. By providing this implementation, even if the context does not implement the IJvDataContextManager interface, allows for descendants of that class to simply add the IJvDataContextManager interface to the list of interfaces, without worrying if it can actually reach the field that stores the name.


See Also

TJvBaseDataContext.SetName


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