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 template sample adds two properties and a custom size picture for each property:
BeginUpdate HasGridLines = False DefaultItemHeight = 52 HTMLPicture("floppy") = "D:\Temp\Icons\3floppy_1mount.gif" HTMLPicture("hard") = "D:\Temp\Icons\3floppy_mount.gif" Add("Floppy", "", EditColor).HTMLName = "<img>floppy</img>Floppy" Add("Hard", "", EditColor).HTMLName = "<img>hard</img>Hard" EndUpdate