Obtains or sets the value of the property specified by its index.
Declaration
Read-Write Property | Variant |
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, TOpenDialog, TObjectPicker, TPanel, TPen, TPicture, TRectObjectPicker, TSaveDialog, TSelectDirectory, TSelectObjectPropertyDialog, TShape, TSizeConstraints, TStrings
Description
Use Property
to get or set the value of the object’s property specified by its index. The total number of the object’s properties is specified by the PropertyCount
property.
Parameters
The property has the following parameter:
Index
PropertyCount
- 1.Property Value
Variant value containing the value of the specified property.
Remarks
If you use Python or DelphiScript, you should enclose the parameter of the Property
property in square brackets: Property[Index]
.
To obtain the property name by its index, use the PropertyName
property.
See Also
PropertyByName Property
PropertyCount Property
PropertyExists Method
PropertyName Property