Second Display Closing Problem
Kadir Haldenbilen <khaldenbilen-/[email protected]> Sun, 11 Dec 2011 08:58:44 -0800 (PST)
| Newsgroups | gmane.comp.python.visualpython.user |
|---|---|
| Message-ID | <[email protected]> |
I know we have more strategic problems, but I have a funny small problem with closing (set invisible) the second display. Consider the following simple code: from visual import * d1 = display() d2 = display() b1 = box(color=(1,0,0), display=d1) b2 = box(color=(0,0,1), display=d2) tl = label(text="Which display is selected?") sd = tl.display sd.mouse.getclick() sd.visible = 0 The label text appears on the second display. Upon click, second display should be closed. It does, but then Vpython crashes. There is no problem with closing the first display. I am running on 5.50 Am I missing something? Kadir ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ Visualpython-users mailing list Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/visualpython-users