TreeView Xojo plugin

TreeView.ColumnHeaderImage Method

Sets or gets the header image for a specific column header.

ColumnHeaderImage(
   index as Integer) as Picture

ColumnHeaderImage(
   index as Integer
   assigns value as Picture)

Parameters

index
The index of the header to set or get the image for.
value (assignment parameter)
The Image to put in the header when using the setter.

Returns

Picture
Returns the image from the header when using the getter, nil if no image has been set.

Remarks

16 x 16 pixel max size. Note that MacOS X headers are 16 pixels in height so you would want to have the image either smaller or transparent on the edges so it would not be tight fit. See the Images in the Headers in Apple Mail to see what would look good on the Mac OS X.

See Also

TreeView Control