Occurs when the in-place editor requests the image of a specific button.
Declaration
Data | [in] | Required | Object | |
Index | [in] | Required | Integer | |
Result | String |
Description
Custom keyword test operations can use text box in-place editors with a number of embedded buttons. By default, these buttons have the ellipsis drawn on it. If you want to use a custom image for a particular button, use the GetButtonImage
event handler to specify the desired image.
The button images must reside in the script extension package. They must be 14×14 BMP or PNG files with the 24-bit or lower color depth. The color of the leftmost-bottom pixel is treated as transparent.
Parameters
The event has the following parameters:
Data
Index
Return Value
A string holding the name and extension (without the path) of the BMP or PNG file that contains the button image.
See Also
Events Reference
GetButtonCount Event
OnButtonClick Event
Creating Keyword Test Operations