If I load and run the following script in Jwdw then the buttons on the form will successfully enable and disable the listbox control. If I load and run the script in Jwdp, the command to disable the listbox control doesn't have any effect. Is this a known limitation or a bug?
TSTLOBJ=: 0 : 0 pc tstlobj; xywh 19 20 50 66;cc lobj listbox; xywh 83 19 48 22;cc btdislobj button;cn "Disable List"; xywh 83 48 48 22;cc btenlobj button;cn "Enable List"; pas 6 6;pcenter; rem form end; ) tstlobj_run=: 3 : 0 wd TSTLOBJ NB. initialize form here wd 'set lobj *',}:;LF,~&.>;:'Orange Apple Banana Mango Pear' wd 'pshow;' ) tstlobj_close=: 3 : 0 wd'pclose' ) tstlobj_btenlobj_button=:3 : 0 wd 'setenable lobj 1' ) tstlobj_btdislobj_button=:3 : 0 wd 'setenable lobj 0' ) tstlobj_cancel_button=: 3 : 0 tstlobj_close'' ) tstlobj_run '' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
