JVCL Help:TJvBaseDataItems.IsStreamableItem
JVCL Help: TJvBaseDataItems.IsStreamableItem Method
Search in JVCL Help
Search in all projectsSummary
Determines if an item should be stored.
Pascal
functionIsStreamableItem(Item: IJvDataItem): Boolean; virtual;
Parameters
Parameters | Description |
Item: IJvDataItem | Reference to the data item about to be stored. |
Description
IsStreamableItem determines if an item should be stored by the filing system (to the form file).
The default implementation allows an item to be stored if it's implementation class is known by the filing system (i.e. RegisterClass has been called for that class) and inherits from TJvBaseDataItem. Descendants can override this method to further expand the conditions (e.g. only items that are deletable). In either case, the item storage mechanism will only allow known classes descending from TJvBaseDataItem to be read back in, so there's no point in removing either of those conditions in the descendants.
If an item should be written to the filing object IsStreamableItem should return True. Otherwise False should be returned.
See Also
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