> From: Henry Rich <[EMAIL PROTECTED]>
>
> I have been working for a long time on why I don't get a
> button event for my listbox and I think I have found out why.
>
> It seems that if I load a form and then change a handler, it
> continues to execute the old handler. It is as if my
> handler has been copied somewhere where I can't change it.
> Likewise, setting form_default after the form is loaded
> has no effect.
>
> Can anybody confirm this? And also confirm that it didn't used
> to do this (just for my own peace of mind)?
>
> And if that's right, can somebody give a quick description of
> when & where the verbs are snapshotted and whether there is a way
> to change the setting?
This may have to do with locales, and how you respect wd assumptions.
See below:
wdforms''
+------+-------+----------+----+-+----------------------------------------+
|jijs |1574792|0 |jijx|7|1.ijx* [15] D:\Math\j602-user\temp\1.ijx|
+------+-------+----------+----+-+----------------------------------------+
|labsel|4916928|jlab | |4|Lab Select |
+------+-------+----------+----+-+----------------------------------------+
|sdoc |2099200|jscriptdoc| |6|scriptdoc |
+------+-------+----------+----+-+----------------------------------------+
wdhandler (v) wd handler
runs in form locale
sets global event data: wdq
runs first found of: form_handler, form_event, form_default,
with global event variables from wdq
if debug is off, wraps event handler in try. catch.
catch exits if error message is the last picked up by debug.
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm