This was done originally because there is no obvious state that a table has when a non-table event occurs, unlike say a checkbox which is either on or off. What information there is can be captured when a table event occurs.
However, we are open to suggestions on this, and it is easy to change. On Thu, Aug 28, 2014 at 12:24 PM, Thomas Costigliola <[email protected]> wrote: > If a table control is not the last control clicked it doesn't show up in > form data. > > > wd 0 : 0 > > pc f closeok; > > bin v; > > cc b button;cn button; > > cc t table 2 2; > > set t data A B C D; > > bin z; > > pshow; > > ) > > > If I click the button then: > > > wd'qd' > > ┌────────────┬────────┐ > > │syslocalep │Special │ > > ├────────────┼────────┤ > > │syshwndp │89319136│ > > ├────────────┼────────┤ > > │syshwndc │89605104│ > > ├────────────┼────────┤ > > │syslastfocus│ │ > > ├────────────┼────────┤ > > │sysmodifiers│0 │ > > ├────────────┼────────┤ > > │sysdata │ │ > > └────────────┴────────┘ > > > But when I click in the table then: > > > wd'qd' > > ┌────────────┬────────┐ > > │syslocalep │Special │ > > ├────────────┼────────┤ > > │syshwndp │89319136│ > > ├────────────┼────────┤ > > │syshwndc │89605104│ > > ├────────────┼────────┤ > > │syslastfocus│ │ > > ├────────────┼────────┤ > > │sysmodifiers│0 │ > > ├────────────┼────────┤ > > │sysdata │ │ > > ├────────────┼────────┤ > > │t │0 1 │ > > ├────────────┼────────┤ > > │t_select │0 0 1 1 │ > > └────────────┴────────┘ > > > And clicking the button again: > > > wd'qd' > > ┌────────────┬────────┐ > > │syslocalep │Special │ > > ├────────────┼────────┤ > > │syshwndp │89319136│ > > ├────────────┼────────┤ > > │syshwndc │89605104│ > > ├────────────┼────────┤ > > │syslastfocus│ │ > > ├────────────┼────────┤ > > │sysmodifiers│0 │ > > ├────────────┼────────┤ > > │sysdata │ │ > > └────────────┴────────┘ > > > This goes for event data too. I need to process the table from another > control's event. Is there any way to do this? > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
