LIBRARY rexxgui
guierr = "SYNTAX"
guiheading = 1
myitems.1='P1'
myitems.1.1='C11'
myitems.1.2='C12'
myitems.2='P2'
myitems.2.1='C21'
myitems.2.2='C22'
mytree = "1 2"
guicreatewindow('NORMAL')
again:
DO FOREVER
guigetmsg()
CATCH HALT
FINALLY
guidestroywindow()
END
RETURN
wm_click_change:
DROP myitems.
myitems.1='New1'
myitems.1.1='NewC11'
myitems.1.2='NewC12'
myitems.2='New2'
myitems.2.1='NewC21'
myitems.2.2='NewC22'
guiaddctltext("MyTree", "MyItems")
RETURN |