mIRC Home    About    Download    Register    News    Help

Print Thread
#86666 13/06/04 07:15 AM
Joined: Sep 2003
Posts: 38
S
snabbi Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Sep 2003
Posts: 38
Because I think it's a bug in mdx and not in mIRC it shouldn't be post in the Bug reports of mIRC, but still want to mention it here.

I noticed mirc crashes each time when I (accendently) setcontrol twice to the same Id. I know it's an error in the code but it shouldn't result in a crash imo. This is the code and it crashes when you close the dialog (i used both ok and cancel)

dialog test {
title "TEST"
size -1 -1 300 200
option dbu
combo 1,10 10 10 10
}
on *:dialog:test:init:* : {
mdx SetMircVersion $version
mdx MarkDialog $dialog
mdx SetControlMDX 1 comboboxex drop > [ $vdll ]
mdx SetControlMDX 1 comboboxex drop > [ $vdll ]
}
alias vdll { return $mdxdir $+ views.mdx }

#86667 13/06/04 11:32 AM
Joined: Nov 2003
Posts: 2,327
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
$dialog should be $dname


New username: hixxy

Link Copied to Clipboard