RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParams.ParamValues Property

Lists the values of individual field parameters that are specified by name.

Pascal
property ParamValues [const ParamName: string]: Variant;
C++
__property Variant ParamValues[AnsiString const ParamName];

Use ParamValues to get or set the values of individual named field parameters. ParamName is a string containing the names of the individual field parameters of interest. If ParamValues is used to access more than one field parameter, the names are separated by semicolons (;). 

Setting ParamValues sets the Value property for each parameter listed in the ParamName string. Specify the values as Variants, in order, in a Variant array. 

Getting ParamValues retrieves a Variant array of Variants, each of which represents the value of one of the named parameters. 

If ParamName includes a name that does not match any of the field parameters in Items, an exception is raised. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!