Type | Description | |||
String | A String expression that indicates the key of the picture to be displayed on the left side of the caption. |
The following VFP samples loads the picture using the HTMLPicture method,
and displays it on the left side of the caption using the HTMLImage property.
toolbar = CreateObject("Exontrol.ToolBar")
with toolbar
.HTMLPicture("pic1") = "C:\exontrol\images\colorize.gif"
.Items.ToString = "Item A[himg=pic1]"
endwith
or:
toolbar = CreateObject("Exontrol.ToolBar")
with toolbar
.HTMLPicture("pic1") = "C:\exontrol\images\colorize.gif"
.Items.Add("Item A").HTMLImage = "pic1"
endwith
These two samples are equivalent.