Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Image Path | Formatted String | The full path and file name of the image | "" |
<2> | Transparent Color | Formatted String | The color within the bitmap not to be drawn. Use "Auto" to designate the top-left most pixel color | Auto |
...
For details regarding supported image types and how you can load images, see the Image type documentation.
Example
Code Block |
---|
// Subclass my editline control and add an option button with a custom image CtrlId = @Window:".EDITLINE" Handle = Get_Property(CtrlId, "HANDLE") rv = Send_Message(@Window:".OLE_SUBCLASS", "OLE.Subclass", Handle, CtrlId) Convert "." to ";" in CtrlId Set_Property(@Window:".OLE_SUBCLASS", "OLE.OptionButton[":CtrlId:"]", 1) Set_Property(@Window:".OLE_SUBCLASS", "OLE.OptionImage[":CtrlId:"]", "C:\MyOptionImage.png") |