mIRC Homepage
Posted By: quartz $sdir + custom dialog bug - 08/05/21 12:19 PM
if you have this, which is from a dialog button to set a dir


on 1:dialog:buttons:sclick:164: {
set %selectdir $$sdir(c:\path\somepath\subdirpath\,select dir)
}


and you hit cancel when it asks for the dir, the dialog disappears
Posted By: Khaled Re: $sdir + custom dialog bug - 08/05/21 06:19 PM
Thanks for your bug report. I have not been able to reproduce this so far. I created a custom dialog, added an sclick event, and used your set statement in it. If I click cancel in the $sdir() dialog, it just closes the $sdir() dialog for me.

Can you create a minimal custom dialog script that reproduces this issue for you?
© mIRC Discussion Forums