> [mailto:[EMAIL PROTECTED] On Behalf Of Sherlock, Ric > 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?
This version shows that enable & disable do work in Jwdp for some (arbitrarily selected) other controls. TSTLOBJ=: 0 : 0 pc tstlobj; xywh 19 20 50 66;cc lbListBox listbox; xywh 83 19 48 22;cc btdisobj button;cn "Disable Control"; xywh 83 48 48 22;cc btenobj button;cn "Enable Control"; xywh 19 95 50 17;cc btButton button;cn "TestButton"; xywh 19 118 50 11;cc edEdit edit; xywh 19 136 50 26;cc redRichEdit richedit; pas 6 6;pcenter; rem form end; ) tstlobj_run=: 3 : 0 wd TSTLOBJ NB. initialize form here controls=.'lbListBox btButton edEdit redRichEdit' wd 'set lbListBox *',}:;LF,~&.>;:controls wd 'pshow;' ) tstlobj_close=: 3 : 0 wd'pclose' ) tstlobj_btenobj_button=:3 : 0 wd 'setenable ',lbListBox,' 1' ) tstlobj_btdisobj_button=:3 : 0 wd 'setenable ',lbListBox,' 0' ) tstlobj_cancel_button=: 3 : 0 tstlobj_close'' ) tstlobj_run '' ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
