Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

IDLitParameter::SetParameterAttribute


Syntax | Arguments | Keywords | Example | Version History | See Also

The IDLitParameter::SetParameterAttribute procedure method sets one or more parameter attributes for a registered parameter.

Syntax

Obj->IDLitParameter::SetParameterAttribute(ParamName [, KEYWORD=variable] )

Arguments

ParamName

A scalar string or string array containing names of registered parameters. If ParamName is an array, the specified attribute values are set on all parameters in the array.

Keywords

Any keyword listed under IDLitParameter::RegisterParameter can be retrieved using this method. To retrieve the value of an attribute, specify the attribute name as a keyword set equal to a named variable that will contain the value of the attribute.

Example

This example creates an iPlot tool sets the description attribute of the registered parameter named "vertices":

IPLOT, RANDOMU(seed, 15) 
idTool = ITGETCURRENT(TOOL=otool) 
idPlot = oTool->FindIdentifiers('*plot*', /VISUALIZATIONS) 
oPlot = oTool->GetByIdentifier(idPlot) 
oPlot->SetParameterAttribute, 'vertices', $
   DESCRIPTION='My Vertex Data' 
oPlot->GetParameterAttribute, 'vertices', DESCRIPTION=desc 
PRINT, desc 

IDL prints:

My Vertex Data 

Version History

Introduced: 6.1

See Also

IDLitParameter::GetParameterAttribute, IDLitParameter::QueryParameter, IDLitParameter::RegisterParameter


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]