mIRC Homepage
Posted By: deVilbaT [editbox] - rich - 18/02/11 01:16 PM
Hello.

Bellow code dosen't work for me.

Code:
dialog test {
  title "Test Dialog"
  size -1 -1 500 500
  edit "Test Edit", 1, 5 5 490 490, multi return rich
}
on *:DIALOG:test:init:0:{
  did -ra $dname 1 {\rtf1\ansi $+ $&
    {\colortbl;\red255\green0\blue0;\red0\green0\blue255;\red255\green255\blue0;} $+ $&
    {\fonttbl\f0\fmodern Arial Black;}\f0\fs24\pard\cf2m\cf1IR\cf3C\par}
}


What's wrong?
mIRC 7.17 / XP

Regards.
Posted By: FroggieDaFrog Re: [editbox] - rich - 18/02/11 01:50 PM
the dialog's "Rich text" was never meant for rtf, but rether to be able to set/increase the character limit of the editbox. Through a bug in the programming on older versions you COULD use rtf, now that mIRC is unicode this bug is no more, but Khaled has stated that sense it was more of a feature rather than an issue he is going to try and implement it again...

It's on his todo list, so yea, it might be fixed in the next version or it might be seven versions from now
Posted By: Horstl Re: [editbox] - rich - 18/02/11 02:12 PM
FYI, the original thread.
Posted By: deVilbaT Re: [editbox] - rich - 18/02/11 06:19 PM
Thanks Sir.
© mIRC Discussion Forums