I hav enot used Tree objects much, so maybe I'm missing something obvious here. But how can I initialize the checkboxes when creating a Tree? Why don't items B and D have their checkboxes checked in the example below?
trbug;k;t
© Tree Bug ?
© Why don't items B and D appear as checked?
© 07 Feb 2005 Rex Swain, Independent Consultant, www.rexswain.com
Œwself„'fm' Œwi 'Create' 'Form'
Œwi 'where' 10 20
Œwi 'size' 20 30
Œwself„'.tr' Œwi 'Create' 'Tree'
Œwi 'where' 0.5 1 19 28
Œwi 'style' 32 © 32=checkboxes
t„0 4½0
t„t®1 1 'Item A' (1 1 0 2) © 2=unchecked
t„t®2 1 'Item B' (1 1 0 3) © 3=checked
t„t®3 1 'Item C' (1 1 0 2)
t„t®4 1 'Item D' (1 1 0 3)
Œwi 'list' t
k„':' Œwi 'Wait'