Thank you David. Could you explain something for me as I'm rather confused! (I have limited knowledge of object programming as is apparent)...
(1) does MOVE-OBJECT-HANDLE move the window handle or the object handle (the dialog help says object)? When I was working with this previously it seemed to be the window handle?
(2) if window then how does invoke button know which button to create the button proxy for (and hence which object-ref to return in ws-button)?
(3) the help for the button class doesn't mention fromHandle or disable as methods in the docs here... "C:\Program Files (x86)\Micro Focus\Visual COBOL\help\nxrclr.chm"
- is there a full list somewhere of all the messages i can send to the objects?
(4) I'm looking to control all objects in this way e.g. entry fields, check boxes, buttons etc - presumably the setFocus, disable, enable etc methods apply to all the object types?
OVERALL I WANT TO... put the handle for each object into a handle store in the data-block in my WINDOW-CREATED dialog so that I can control everything from a program. Dialog conditional processing is very limited and i want to debug more easily in visual cobol.
Thanks in advance,
Linden