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 put a custom size picture in the column's header:
<CONTROL>.HTMLPicture("pic1") = "c:/temp/editors.gif" <CONTROL>.HTMLPicture("pic2") = "c:/temp/editpaste.gif" <COLUMN1>.HTMLCaption = "A <img>pic1</img>" <COLUMN2>.HTMLCaption = "B <img>pic2</img>" <COLUMN3>.HTMLCaption = "A <img>pic1</img> + B <img>pic2</img>"