If I remember correctly, the form editor will not run any code,
you have to quit form editor and run the script.  If it still
fails, please post a self contained simple script for
demonstration of your problem.
 
Ср, 09 окт 2013, adam dunne писал(а):
> Is there anyone out there still using J602 Form Editor?
> 
> I have a problem with listbox.
> 
> I want to assign a variable to the word in the list selected by cursor.
> 
> I’m using code borrowed from the Lab controls demo:
> 
> 
> 
> <Create listbox with Id bxlist in form>
> 
> 
> 
> I’ve put the code in ‘Ok’ button and created an edit control (name)to
> display the selected noun. I’m getting  nothing in name:
> 
> 
> 
> list1_ok_button=: 3 : 0
> 
> NB.wd'cc bxlist listbox ws_vscroll lbs_multiplesel'
> 
> list=.;:'apples bananas cherries dates'
> 
> wd 'set bxlist ',;list,  each LF
> 
> )
> 
> 
> 
> list1_name_button=: 3 : 0
> 
> wd 'set name ',bxlist
> 
> )
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to