Description
Use this property to get scripting access to the editor control's button, specified by its caption or index, in the collection of the editor control's right buttons.
Declaration
TestObj.wButtonsRight(Item)
Read-Only Property | An
AutoRepeatEditorButton ,
DropDownEditorButton ,
EditorButton ,
SpinEditorButton or
StateEditorButton object.
|
TestObj | A variable, parameter or expression that specifies a reference to one of the objects listed in the Applies To section | |||
Item | [in] | Required | Variant |
Applies To
The property is applied to the following object:
View Mode
To view this property in the Object Browser panel and in other panels and dialogs, activate the Advanced view mode.
Parameters
The property has the following parameter:
Item
Specifies the caption or zero-based index of the desired item.
The caption can contain asterisk (*) or question mark (?) wildcards or regular expressions. The asterisk corresponds to a string of any length (including an empty string), the question mark corresponds to any single character (including none). To specify more complicated parts of a caption, use regular expressions.
The caption can be case-sensitive or case-insensitive depending on the value of the Use case-sensitive parameters project setting.
Property Value
An AutoRepeatEditorButton
, DropDownEditorButton
, EditorButton
, SpinEditorButton
or StateEditorButton
object.The type of the returned object depends on the type of the object it corresponds to.
Remarks
If the specified item is not found, the property returns an empty object and posts an error message to the test log.
See Also
wButtonsRightCount Property (Specific to InfragisticsEditorButtonControl Controls)
wButtonsLeft Property (Specific to InfragisticsEditorButton Controls)
wButtonsLeftCount Property (Specific to InfragisticsEditorButtonControl Controls)