From: Daniel <dan...@ya...> - 2007-02-06 15:39:35
|
=0AHi Eriam,=0A=0Athats coding....=0A=0AEverytime it runs I wondered about = the error-message. Argh. I really didn't see it....=0A=0A=0AThanks to all! = Now it works fine!=0A=0A$self-Close(1) is all I need (I'm using windows xp)= .=0A=0ADaniel=0A=0A=0A=0A----- Urspr=FCngliche Mail ----=0AVon: Eriam Schaf= fter <er...@er...>=0AAn: Daniel <dan...@ya...>=0ACC: = wxp...@li...=0AGesendet: Dienstag, den 6. Februar 200= 7, 16:25:26 Uhr=0ABetreff: Re: [wxperl-users] How to quit an Wx application= ? - Another Idea=0A=0A=0A=0A>=0A> $panel_update->{button}{"killme"} =3D= Wx::Button->new( $panel_update,=0A> -1= ,=0A> 'killme',=0A> = [75, 20],=0A> [150, -1= ]=0A> );=0A>=0A> EVT_BUTTON($panel_= update, $panel_update->{button}{"Exit"}, sub {=0A>=0A=0A=0AHello Daniel,=0A= =0AYour event is attached to the wrong button $panel_update->{button}{"Exit= "}=0Ayou should attach it to the correct button instead.=0A=0ABye=0A=0AEria= m=0A=0A=0A=0A=0A=0A=0A=0A=0A =0A =0A_____________________________= ______________________________ =0ADer fr=FChe Vogel f=E4ngt den Wurm. Hier = gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de=0A=0A=0A=0A=0A=0A= =0A=0A=09=0A=09=09=0A______________________________________________________= _____ =0ADer fr=FChe Vogel f=E4ngt den Wurm. Hier gelangen Sie zum neuen Ya= hoo! Mail: http://mail.yahoo.de |