Sorry, I didn't have use that ocx before. On re-reading your original msg, it
said that method addnode returns an integer but not an object. So that it should be
curNode=: wd 'olemethod tvTree base AddNode "First Node" 0 1'
note that wd return numbers as strings.
Peter Nichols wrote:
Thanks Bill!
Adding the node worked fine, but it dies on the oleid.
load 'c:\jlib\tutor\testgui.ijs'
|domain error: wd
| wd'oleid curNode'
wd 'qer'
bad id : 0
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm