[Jprogramming] Grid class

Oleg Kobchenko olegykj at yahoo.com
Wed Mar 21 07:52:14 HKT 2007


If in grid handler, another grid is called,
the calling grid loses gl2 context.
I don't think it should assume that the
context will remain.

Currently the workaround is to explicitly
set the context back.

grid1_gridhandler=: 3 : 0
  select. y
   case. 'mark' do.
     CURLOC=: CELLDATA__grid1 {~ <CELLMARK__grid1
     update ''            NB. calls grid2 verbs
                          NB. gl2 context lost
     glsel_jgl2_ 'grid1'  NB. workaround
  end.
)



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367


More information about the Programming mailing list