JVCL Help:TJvFormStorage.StoredValues

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

Search in JVCL Help

 
Search in all projects
 

Summary

Contains the stored values for a storage component.


Pascal

 propertyStoredValues: TJvStoredValues;


Description

Access StoredValues at runtime to view and set stored value names and values dynamically (at design time use the collection editor f r the StoredProps property to set stored value information). StoredValues can be accessed as a zero-based array of TJvStoredValue objects. Index specifies the array element to access.
The following code assumes that the storage component has 3 stored value objects, and sets and stores their values: JvFormStorage1.StoredValues[0].Value := 'Germany'; JvFormStorage1.StoredValues[1].Value := 'Berlin'; JvFormStorage1.StoredValues[2].Value := 10331000; JvFormStorage1.StoredValues.SaveValues;


See Also

TJvFormStorage.StoredValue, TJvStoredValues, TJvStoredValues.Items


About

Notes

An easier way to set and retrieve values of stored value objects when the name of each stored value object is known is to call StoredValue; however, StoredValue cannot be used to change a stored value’s name.


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