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

Reply via email to