Re: Where's the -1 go? (Not another troll question)

Bill Luebkert <[email protected]> Fri, 05 Aug 2011 08:44:34 -0700
Newsgroups gmane.comp.lang.perl.active-perl
Message-ID <[email protected]>
On 8/5/2011 7:14 AM, Rothenmaier, Deane C. wrote:
> Thanks, Christian.
>
> So, If I'm understanding you correctly, Exit_Click just passes the -1 from MW_T back up the chain to whatever called *it*? So it ends up somewhere in a black GUI box?

Kinda depends on who called Exit_Click and how.  I assume it's a
callback for a menu item, button or some such - so if so, it would most
likely just be ignored unless it was expecting a return from the
callback in which case it could do any number of things including a
possible exit.  One would need to know more context to determine the
real answer by looking at the code.  Always supply complete but tiny
test cases instead of just little snippets of code and you have a
better chance at a real world answer.
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs