<div dir="ltr">On Fri, Oct 10, 2008 at 3:48 AM, Alex Fenton <span dir="ltr">&lt;<a href="mailto:alex@pressure.to">alex@pressure.to</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;">
Hi Glen<div class="Ih2E3d"><br>
<br>
Glen Holcomb wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It would appear that the only instruction that doesn&#39;t run at the end of on_okay is close, exit works fine. &nbsp;This kind of blows, I suppose I&#39;ll have to start another instance of the app and exit after the populate finishes, not the cleanest solution.<br>

</blockquote>
<br></div>
I&#39;m sure you won&#39;t need to do this.<br>
<br>
Generally, if you want help, please reduce the code to a standalone, runnable, and ideally short sample. I&#39;m very happy to help, but it&#39;s too much to expect people to install extra libraries and second-guess what the rest of your app is doing.<br>

<br>
I did try running your code, pruned of the LDAP stuff. It seems fine to me - there&#39;s nothing in the dialog layout itself. I would suggest checking that the dialog has an explicit parent, not nil - it is better in most cases that the dialog is linked to a parent frame. In the special case that an application consists only of a single dialog, you must use Dialog#destroy to end the app, close is not sufficient.<br>

<br>
If this doesn&#39;t help, I would look further into net/ldap and see whether this is causing it to hang - ie, if ok does nothing but &#39;close&#39; does it work fine?<br>
<br>
cheers<div><div></div><div class="Wj3C7c"><br>
alex<br>
<br>
<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>
</div></div></blockquote></div><br>Hey Alex,<br><br>Thanks for the reply, destroy did the trick.&nbsp; I don&#39;t know why I didn&#39;t try that before, according to my browser I&#39;d looked at the method definition in the API docs.&nbsp; Odd that close doesn&#39;t work, I&#39;m creating this dialog the same way I do all my others and close works for them.<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>