mIRC Home    About    Download    Register    News    Help

Print Thread
#229858 18/02/11 01:16 PM
Joined: Sep 2005
Posts: 116
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2005
Posts: 116
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.


when no one watching us
we are invisible
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
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

Last edited by FroggieDaFrog; 18/02/11 01:51 PM.

I am SReject
My Stuff
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559

Joined: Sep 2005
Posts: 116
Vogon poet
OP Offline
Vogon poet
Joined: Sep 2005
Posts: 116
Thanks Sir.


when no one watching us
we are invisible

Link Copied to Clipboard