Since you can have multiple connections you need to store an access to the Windows object in the On_Connect. It would not be possible to have that in a global object. So that is not kludgy, but the best way to do it.
David Botton On Sun, Dec 13, 2015 at 1:41 PM Jeremiah Breeden <jeremiah.bree...@gmail.com> wrote: > Is there a good way to get control of the window object for a connection? > One work around I am experimenting with is adding a window access parameter > to my app_data type, but this feels a bit kludgy and I am not sure how safe > that is long term. > > I don't always have global or local access to the Window (like when in an > event handler in a separate package). > > ------------------------------------------------------------------------------ > _______________________________________________ > Gnoga-list mailing list > Gnoga-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gnoga-list >
------------------------------------------------------------------------------
_______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list