Did you missing a pc cmd at the beginning of EXAMPLE?

Пт, 15 мар 2013, Tom Arneson писал(а):
> I tried your test function with the following result:
> 
>    coclass'example'
>    
>    EXAMPLE=: 0 : 0
> rem form definition
> )
>    
>    test=: 3 : 0
> wd EXAMPLE
> wd'pshow'
> )
>    test_example_''
> |pshow : no parent selected: wd
> |   (wd ::(''"_)'qer')    (13!:8)3
> 
> NB. =====================
> I tried inserting some lines into the form from the cities demo form, but
> that didn't help.
> Can someone tell me what I'm missing?
> Thanks
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Norman Drinkwater
> Sent: Friday, March 15, 2013 19:21
> To: [email protected]
> Subject: Re: [Jbeta] wd interface for Qt
> 
> Although the Qt layouts make it more straightforward to generate forms by
> hand, I've found it useful to add a test function to the script to make sure
> I'm on the right track. That way I can separate the initialization logic
> that is usually in the run function. For example:
> 
> coclass'example'
> 
> EXAMPLE=: 0 : 0
> rem form definition
> )
> 
> test=: 3 : 0
> wd EXAMPLE
> wd'pshow'
> )
> 
> Running test_example_ in the terminal brings up the form and if need be I
> can go back and adjust the form definition. The usual run or create function
> contains all of the necessary logic to actually use the form.
> 
> Although the above is probably obvious, once I started using this approach,
> building forms was much quicker and I stopped missing the form editor.
> 
> On Mar 15, 2013, at 5:09 PM, chris burke <[email protected]> wrote:
> 
> > J8 does support wd and will continue to do so. The format is similar 
> > but not identical to J6.
> > 
> > We haven't bothered with the GUI design tool yet. In J6 and earlier, 
> > controls had exact xywh positioning which is tedious to get right 
> > manually, hence the need for a form editor. J8 uses Qt layouts which 
> > are automatic, so a form editor is not so essential.
> > 
> > One possibility is that the output from Qt Creator could be read into 
> > a J8 wd form definition. But you should find that it is easy enough to 
> > create J8 forms manually.
> > 
> > On Sat, Mar 16, 2013 at 2:45 AM, McGuinness, Brian
> > 
> > <[email protected]> wrote:
> > 
> >> ...If J8 continues to support wd and the GUI design tool, and these 
> >> work on 64-bit platforms, then I will seriously consider writing 
> >> GUI-based applications in J once again.  But I'm not interested in 
> >> playing a constant game of catch-up with an ever-changing platform, 
> >> and I'm sure most other people feel the same way.
> > ----------------------------------------------------------------------
> > 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

Reply via email to