Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PosNameTypeDescription
<0, 1>KeyTextA unique key for the image.
<0, 2>FilePathTextThe image file.
<0, 3>DescriptionTextThe icon's optional description

...

The Icons property defines the icons for a specified pane. Icon panes are created using the Panes property. To target a specific pane, you must pass an existing pane's caption as the index to this property.

...

Code Block
// Add icons to a pane called Landmarks
Icons = ""
Icons<-1> = "Hiking"   :@VM:"BMPS\Hike.png":@VM:"A place to go hiking"
Icons<-1> = "Shopping" :@VM:"BMPS\Shop.png":@VM:"A place to spend money"
Icons<-1> = "Restrooms":@VM:"BMPS\Rest.png":@VM:"A place to see a man about a horse"
Icons<-1> = "Vistas"   :@VM:"BMPS\Vist.png":@VM:"A place to see another place"
Set_Property(@Window:".OLE_SKETCH", "OLE.Icons[Landmarks]", Icons)

See Also

Panes