PropertyName Property

Applies to TestComplete 15.63, last modified on April 23, 2024

Returns the property name by its index.


Read-Only Property String
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


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


The property has the following parameter:


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.


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