TreeView Xojo plugin

TreeViewCheckboxNode.Constructor Constructor

A constructor that takes a text, image, high resolution image for Retina mode, true or false depending on if the node should have expander or not and check-state parameter.

Constructor(
   text as String,
   image as Picture,
   highResImage as Picture,
   hasExpander as Boolean,
   checked as Boolean)

Parameters

text
The text to put in the node.
image
The image to put on the node.
highResImage
High resolution image for displays running in Retina mode on Cocoa.

This high resolution image has to be exactly 2x larger than the image.

If having a high resolution image then you must also have a image else no image is displayed. End size is controlled by the main image.
hasExpander
True if the node should be forced to have expander regardless if it has child nodes or not. False if it should only have expander when the node has child nodes.
checked
True if the checkbox in the node should be checked, else false.

Remarks

High resolution image has to be exactly 2x larger than the image.

If having a high resolution image then you must also have a image else no image is displayed. End size is controlled by the main image.

See Also

TreeViewCheckboxNode Class