Re: SWITCH problem - need thoughts
- Posted by jessedavis Apr 16, 2016
- 1629 views
Further information. In response to comments from andi49 I noticed that tinewg was being used instead of the euwingui that I was using. Since I had nothing to do (but get some sleep) I got my program going using tinewg. The switch problems disappeared completely. I cannot explain this as the problem I was having was definitely inside the switch block. More work I guess. It was nice to see the program work the way it should. The only problem I encountered with tinewg was with NewFont & SetFont. NewFont seemed to return some handles that were "out of range" when passed to SetFont causing the program to crash. I'll work on this later.
global atom font_18 = NewFont("Courier New",18,True,False,False) SetFont(cat_box,font_18)
Thanks to everyone, jd