My experience is that it should work. Could you provide a minimum but complete script to reproduce the bug?
Пнд, 18 Мар 2013, Tom Arneson писал(а): > NB. This fragment is in the script which I'm moving to J801 Qt > > z=. (d=. (;'q< >5.0,q< >r<0>3.0,q< >r<0>3.0' 8!:0 DATE),edit1) fappends > FILENAME > if. z~:_1 do. > wd 'sbarset status0 -1 "',d,' saved to file"' > wd 'set edit1 text *' > DATE=: todate >:todayno DATE NB. increment date > wd 'setcaption s1 *',":DATE > wd 'setfocus edit1' > else. > wdinfo 'Error';'Data not saved' > end. > > NB. > > the wd 'set edit1 text *' doesn't clear control edit1. The static s1 is > correctly updated, as is the file > > -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of chris burke > Sent: Sunday, March 17, 2013 19:56 > To: [email protected] > Subject: Re: [Jbeta] wd interface for Qt - clearing an edit control > > wd 'set edit1 text *' should work. > > > However, I think wd 'set edit1 text' should also be supported. > > > On Mon, Mar 18, 2013 at 8:52 AM, Tom Arneson <[email protected]> wrote: > > > In J6 > > > > wd'set edit1' > > > > would clear the contents of edit1 > > > > I can't find a way to do this in J801 Qt > > > > wd 'set edit1 text abc' > > > > Puts abc into edit control edit1, but > > > > wd 'set edit1 text' > > > > has no apparent effect. > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > 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
