Bill,

        I tried your script in Mac j601 and j602 and did NOT
experience the results you mention in your step 4 as long as
I did not alter the g1 and g2 fields. That is, g1 and g2
remained abc and cde. If I change g1 or g2, and close and
reopen, then g1 and g2 come back to abc and cde.

        When I tab between the fields, I get no blinking
cursor in g1 or g2 but do get one in edit and the button
does highlight. The first time I tab to g1 or g2, there is
no cursor and whatever I type is ignored. I have to click on
g1 or g2 at least once to see any keystrokes.

        If I click on g1 or g2, I see no cursor
and if I begin typing, my typing replaces ALL of the
existing text.

        If I double click on g1 or g2, I get a
blinking cursor. But as you observed, the cursor remains
(unblinking) when I tab after editing g1 or g2.

        When I enter form editor and move controls around by
dragging I get no error messages as you seem to in 5.

(B=)

On Tue, 1 Jan 2008, bill lam wrote:

+ (please beware possible line wraps in the script below)
+
+ Some observations,
+ 1. if replacing  CELLDATA=. 1 1$<'abc'  with   CELLDATA=. <'abc'
+     it signals an error in jzgrid.
+ 2. if use COLWIDTH=. +:54 (length of grid=length of cell)
+     there will be a horizontal scroallbar
+ 3. while use keyboard to enter data in g1 or g2 and tab to the next control,
+     the caret on g1/g2 is still visible (not hidden)
+ 4. run ( form_run'' )
+     first time, abc in g1 cde in g2  (correct)
+     now close form and run again
+     second time, cde both in g1 and g2 (incorrect)
+     now close form and run again
+     third time, same as the last
+     forth time, J session close (not sure if this is a crash)
+
+ 5. restart J and run again and then close the form.
+     then use form editor to edit the form and it said
+     wdhandler
+     error in: form_g_paint
+     domain error: glclear
+       glclear''
+
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to