jmm@thoth8.berkeley.edu (02/08/88)
given the following code: ... theList^^.lClikLoop:=@ListClickRoutine; ... function ListClickRoutine:Boolean; begin ListClickRoutine:=true; end; ... if LClick(theEvent.where,theEvent.modifiers,theList) then ... ... The call to LClick doesn't change the selected cell, and immediately exits. However, if I put a stop sign on the last end; statement of ListClickRoutine, and then choose the Go-Go option, LClick will track the mouse and select the appropriate cells (albeit slowly). (Note that the ONLY statement in ListClickRoutine is the assignment given. It didn't work with other statements above that one either.) Any idea what's going on? On a related note, what are the limits of what you can do inside a LClikLoop routine? Can it use global variables? / James Moore / | jmm@bartleby.berkeley.edu / / |--------------------------------------------| / Ma ta Gaeilge agut, / | Nil aon speis ag Ollscoile na | / scriobh i! / | California im bharulacha fein. |