Re: [racket-users] Re: trickiness about the order of definitions in GUI code

2020-05-06 Thread James Platt
Thanks, Alex. I actually tried something very similar to this earlier but failed. What I should have done is to try it with my simplified code and then I would have realized it was an approach that could work. The complication is that there is much more stuff going on in my production code.

[racket-users] Re: trickiness about the order of definitions in GUI code

2020-05-06 Thread Alex Harsanyi
Every problem can be solved by adding another level of indirection (except perhaps having too many levels of indirection :-) ). You can put the code below in a separate file: (define (make-info-menu-item parent target-table) (new menu-item% (label "info") (parent parent) (c