Type | Description | |||
Key as String | A String expression that indicates the key of the picture being added or replaced. If the Key property is Empty string, the entire collection of pictures is cleared. | |||
Variant |
The HTMLPicture specifies the picture being associated to a key. It can be one
of the followings:
If empty, the picture being associated to a key is removed. If the key already exists the new picture is replaced. If the key is not empty, and it doesn't not exist a new picture is added |
The following sample shows how to display icons in the control's invalid tooltip:
<CONTROL>.HTMLPicture("pic1") = "c:/temp/editors.gif" <CONTROL>.HTMLPicture("pic2") = "c:/temp/editpaste.gif" <COLUMN1>.Invalid = "A <img>pic1</img>" <COLUMN2>.Invalid = "B <img>pic2</img>" <COLUMN3>.Invalid = "A <img>pic1</img> + B <img>pic2</img>"