mIRC Homepage
Posted By: Charlie is it a bug? - 31/03/04 10:54 AM
Code:
  dialog tablename {
    title "Dialog"
    size -1 -1 270 95

    tab "Tab 1", 1, 0 0 270 100
    tab "Tab 2", 2
    tab "Tab 3", 3
    tab "Tab 4", 4
    tab "Tab 5", 5
    combo 6, 15 45 240 100, edit drop tab 1
  }
  on *:dialog:tablename:init:0: {
    did -ac $dname 6 &bbold, &uunderline
  }


now when you open the dialog with
Code:
  dialog -am tablename tablename

its display correctly, but when you click 'Tab1' till 'Tab5'
and click it back from 'Tab5' to 'Tab1', text inside combobox
have an error. where '&u' changed to ascii 01 (hex)

i am use mIRC v6.14 under Win2K (German Version)
Posted By: greeny Re: is it a bug? - 31/03/04 11:12 AM
Confirmed. I noticed this a while ago, it also happens with other controls (like text).
Posted By: Krejt Re: is it a bug? - 04/06/04 08:14 AM
Yup it was a bug. Fixed in mIRC 6.15
29.Fixed ampersand bug in custom dialog combo boxes.
Posted By: voks Re: is it a bug? - 22/07/04 01:42 PM
Like greeny said before, the same bug occures in text, and is still not fixed in 6.16.

Code:
dialog test {
  size -1 -1 225 148
  tab "1", 10, 1 1 221 129
  tab "2", 20
  tab "3", 30
  text "NoNameScript © 2004 by greeny && mute", 332, 28 50 125 8, tab 30
} 


If I open Tab 3 directly after init, the & is shown correctly, but if I first open the second Tab and open Tab 3 then, there is this little square.

Suggestion:
Remove the alt-links from text. They are only useful in clickable items, I think, so we don't have to write two & to get one &.
© mIRC Discussion Forums