PropertyName Property

Applies to TestComplete 14.92, last modified on September 16, 2021

Returns the property name by its index.

Declaration

componentObj.PropertyName(Index)
Read-Only Property String
Parameters
componentObj     One of the user forms components or objects listed in the Applies To section  
Index [in] Required Integer

Applies To

This property applies to the following components and objects:

TBevel, TBitmap, TBrush, TcxButton, TcxButtonColors, TcxButtonEdit, TcxButtonEditProperties, TcxCalcEdit, TcxCalcEditProperties, TcxCheckBox, TcxCheckBoxProperties, TcxCurrencyEdit, TcxCurrencyEditProperties, TcxDateEdit, TcxDateEditProperties, TcxEditAlignment, TcxEditButton, TcxEditButtons, TcxGroupBox, TcxLabel, TcxLabelProperties, TcxListBox, TcxMemo, TcxMemoProperties, TcxMRUEdit, TcxMRUEditProperties, TcxProgressBar, TcxProgressBarProperties, TcxRadioGroup, TcxRadioGroupItem, TcxRadioGroupItems, TcxRadioGroupProperties, TcxSpinEdit, TcxSpinEditButtons, TcxSpinEditProperties, TcxTextEdit, TcxTextEditProperties, TcxTimeEdit, TcxTimeEditProperties, TImage, TObjectPicker, TOpenDialog, TPanel, TPen, TPicture, TRectObjectPicker, TSaveDialog, TSelectDirectory, TSelectObjectPropertyDialog, TShape, TSizeConstraints, TStrings

Description

Use PropertyName to obtain the name of the property specified by its index. The total number of properties is specified by the PropertyCount property.

Parameters

The property has the following parameter:

Index

The index of the desired property. The index is zero-based: the first property has an index of 0, the second - 1, and so on. Index of the last property is PropertyCount - 1.

Property Value

A string holding the property name.

Remarks

To get or set the property value by its index, use Property.

See Also

Property Property
PropertyByName Property
PropertyCount Property
PropertyExists Method

Highlight search results