Versions Compared

Key

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

...

Field

Tree View Property

Description

ID

list_id_field

A unique ID string to identify the entry.

Parent ID

list_parent_id_field

The ID string of the parent entry. An empty string indicates a top level entry.

Caption

list_caption_field

The text to display for the entry.

...

Field

Tree View Property

Description

Image

list_image_field

Specifies a path, relative to the images directory, to an image to be used for the entry's icon.

Open image

list_open_image_field

Specifies a path, relative to the images directory, to an image to be used for the entry's icon when the entry is expanded.

Is Selected

list_is_selected_field

Indicates that the initial state of the entry is selected. This should be a string field that will contain either nothing (not selected) or one of two values: 'true' or 'freeze'. Both values indicate that the entry is selected but differ in how the Tree View behaves. If the value is 'true' the Tree View will perform whatever action it is configured to perform when a user clicks on the entry. In other words, it simulates the user selecting the entry. If the value is 'freeze' then the Tree View draws the item as selected but performs no other action.

Is Expanded

list_is_expanded_field

Indicates that the initial state of the entry is expanded. This is ignored if the entry does not have children. This field can be a string or a numeric. Values of 'true', 'y' or 1 are treated as true, all other values are treated as false.

OnSelect WAM OnSelect Webroutine

list_onselect_wamname_field

list_onselect_wrname_field

The name of a WAM/Webroutine that will be run when the item is clicked. If no value is supplied in these fields, the defaults specified by the onselect_wamname and onselect_wrname properties will be used.