mIRC Home    About    Download    Register    News    Help

Print Thread
#273988 21/08/26 10:19 AM
Joined: Sep 2005
Posts: 129
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2005
Posts: 129
Dialogs stops initalizing:

dialog about.script {
icon $dir(scripts\images\script.ico)
size 0 0 0 0
title About ... $show.command(about)

button "", 15, 0 0 0 0, hide ok
}
alias about { dialog $iif($dialog(about.script),-v,$iif($mouse.key & 4,-dm,-m) about.script) about.script }

Icon and title cannot got $.

I'm here to help further if needed.
Regards.


when no one watching us
we are invisible
Joined: Dec 2002
Posts: 3,919
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 3,919
Thanks for your bug report. I have not been able to reproduce this issue here. When I test a dialog uses identifiers for the icon and/or title, they work correctly. Note that your example included $dir() and $show.command(), which are not standard identifiers, so I had to use my own identifiers for testing.

Joined: Sep 2005
Posts: 129
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2005
Posts: 129
I found the problem. You need to add “OPTION.” The problem, however, is that there are scripts that don't have this, and if it's missing, the default setting is “OPTION PIXELS.” Many of them will simply stop working.


when no one watching us
we are invisible
Joined: Dec 2002
Posts: 3,919
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 3,919
Thanks this issue has been fixed for the next version.


Link Copied to Clipboard