win32lib: Scope of event handlers?
- Posted by John Coonrod <jc at THP.ORG> Aug 15, 2000
- 433 views
I've moved some routines into an include file and find that they now do not work for reasons that are a mystery to me. One of the procedures creates a number of PushButtons, storing the handles in a sequence and setting onClick to another routine in the include file, using routine_id. It sets up the buttons just fine, but the onClick routines don't work. When the same code is in the main file, it seems to work just fine. The procedures are declared global. Any idea what the problem could be? ---------------- Dr. John Coonrod, Vice President, jc at thp.org The Hunger Project, 15 East 26th Street, NY, NY 10010 www.thp.org