<div dir="ltr">On Thu, Oct 2, 2008 at 2:45 PM, Glen Holcomb <span dir="ltr">&lt;<a href="mailto:damnbigman@gmail.com">damnbigman@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">If it is modal I&#39;m not intending it to be but I&#39;ll check.<div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Thu, Oct 2, 2008 at 2:42 PM, Alex Fenton <span dir="ltr">&lt;<a href="mailto:alex@pressure.to" target="_blank">alex@pressure.to</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>Glen Holcomb wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have an interesting problem. &nbsp;I have a dialog which refuses to go away once it has finished it&#39;s associated code.<br>
<br>
Here is the code:<br>
<br>
</blockquote></div>
...<div><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After filling out the proper information and clicking on okay the data is populated however when it finishes the dialog hangs around. &nbsp;Furthermore it won&#39;t close when you click on Cancel or the Window close widget (the X in my case). &nbsp;The log line executes just fine, the dialog just refuses to close.<br>


</blockquote>
<br></div>
I haven&#39;t tried out your code, but maybe you need to call end_modal, if you&#39;re calling show_modal to start the dialog?<br>
<br>
alex<br>
_______________________________________________<br>
wxruby-users mailing list<br>
<a href="mailto:wxruby-users@rubyforge.org" target="_blank">wxruby-users@rubyforge.org</a><br>
<a href="http://rubyforge.org/mailman/listinfo/wxruby-users" target="_blank">http://rubyforge.org/mailman/listinfo/wxruby-users</a><br>
</blockquote></div><br><br clear="all"><br></div></div><div class="Ih2E3d">-- <br>&quot;Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can&#39;t hear a word you&#39;re saying.&quot; <br>
<br>-Greg Graffin (Bad Religion)<br>

</div></div>
</blockquote></div><br>Well end_modal doesn&#39;t do anything either.&nbsp; Oddly before clicking on the &quot;okay&quot; button the &quot;cancel&quot; button works, however after the on_okay event is processed the &quot;cancel&quot; button does nothing.<br clear="all">
<br>-- <br>&quot;Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying.&quot; <br><br>-Greg Graffin (Bad Religion)<br>
</div>