Suppose your have 3 edit control a1 a2 a3 inside a form,
wdhandler will set names a1 a2 a3 (same as name of edit control) to the text of
these controls,
a1=: (text in a1)
a2=: (text in a2)
a3=: (text in a3)
in _any_ event no matter it was triggered by pressing menu item, clicking on
button, or enterkey in edit controls. you could examine it by adding
1!:2&2 wdq
in the code of events ie. pa_a1_button
This is different from vb: there is no wd command to query content of individual
edit control. Moreover you can only get the updated content inside event.
Because tab does not trigger any event so that no wdhandler will be called and
thus no update on a1 a2 a3.
David Porter wrote:
David Porter wrote:
At the risk of being boring, repetitious, redundant, and saying the
same thing over and over again, I don't really understand it, but I'll
accept it for now.
On further reflection, I guess the fact that my handler actually does a
wd set for each one of the variables before it ends could have a little
to do with it.
Sheepishly,
Dave
----------------------------------------------------------------------
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