User Tools

Site Tools


DzCheckListItem

Script wrapper for Q3CheckListItem.

More...

Inherits :

Enumerations

Properties

Constructors

DAZ Script
DzCheckListItem ( DzListView parent, Type type=RadioButtonController, Number id=-1 )
DzCheckListItem ( DzCheckListItem parent, Type type=RadioButtonController, Number id=-1 )
DzCheckListItem ( DzListViewItem parent, Type type=RadioButtonController, Number id=-1 )

Detailed Description

This is not a widget, but a helper for working with DzListView. Each DzCheckListItem represents a single item in a list view - add items to a list view by creating a new DzCheckListItem that is a child of the list view, or a child of another list view item in the list view.

Enumerations


: ToggleState

Specifies the checklist item's toggle state.

  • Off - The item is off.
  • NoChange - The item has not changed - i.e. it is in the third state and the user has not clicked it.
  • On - The item is on.

—–

: Type

Specifies the checklist item's type.

  • RadioButton - Radio Button item. Must be the child of a RadioButtonController
  • CheckBox - Check Box item.
  • RadioButtonController - Radio Button parent item.
  • CheckBoxController - Check Box parent item.

Properties


Number : height

Holds the height of the item.


Boolean : on

Holds whether or not the item is toggled on (checked).


ToggleState : state

Holds the state of the item.


Boolean : triState

Holds whether or not the item is tristate.


Type : type

Holds the type of the item. (Read Only)

Constructors


DzCheckListItem( DzListView parent, Type type=RadioButtonController, Number id=-1 )

Creates a checklist item at the root level of the specified list view.

Parameter(s):

  • parent - The listview to create this item as a child of.
  • type - The Type of item to create.
  • id - The identifier for this item.

DzCheckListItem( DzCheckListItem parent, Type type=RadioButtonController, Number id=-1 )

Creates a checklist item as a child of the specified list item.

Parameter(s):

  • parent - The item to create this item as a child of.
  • type - The Type of item to create.
  • id - The identifier for this item.

DzCheckListItem( DzListViewItem parent, Type type=RadioButtonController, Number id=-1 )

Creates a checklist item as a child of the specified list item.

Parameter(s):

  • parent - The item to create this item as a child of.
  • type - The Type of item to create.
  • id - The identifier for this item.