This is example verbatim from Grid documentation.

The default grid id is changed to 'gridx'--this required.

It gave error message 
|domain error: wd
|   GRIDHWNDC=:    wd'qhwndc ',GRIDID

Next, GRIDID__grid=: was added. As a result,
the grid is unresponsive.

I believe it would be good to provide an example
that does not rely on default "grid" id.


NB. =========================================================
require 'jzgrid'
cocurrent 'myform'

CELLDATA=: *./~i.20

GDEMO=: 0 : 0
pc gdemo;
xywh 0 0 200 100;cc gridx isigraph rightmove bottommove;
pas 0 0;
rem form end;
)

gdemo_run=: 3 : 0
  wd GDEMO
  grid=: '' conew 'jzgrid'
  GRIDID__grid=: 'gridx'      NB. added
  show__grid 'celldata'
  wd 'pshow'
)

create=: gdemo_run

destroy=: 3 : 0
  destroy__grid''
  wd 'pclose'
  codestroy''
)

gdemo_close=: destroy
create''




 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to