I've been away from scripting for awhile, and am needing help with something. I am trying to code my dialog to color text in one line of my list window. The code I tried to use is...
did -i $dname 1 2 settxt $rgb(255,255,255)
...however, instead of coloring the text it adds a line with this code in it. I'm using mdx.dll for my dialog as well as views.mdx. I've got it marking the dialog on init as well as the SetControlMDX as well. Is there anything I can do to make it do what I want? Thanks, everyone.
on *:DIALOG:MT:*:*: {
if ($devent == init) {
dll $ff(mdx.dll) SetMircVersion $version
dll $ff(mdx.dll) MarkDialog $dname
dll $ff(mdx.dll) SetControlMDX $dname 1,5,8 ListView report grid showsel single rowselect flatsb labeltip stateclick > $ff(views.mdx)
did -ra $dname 6 $chr(34)
dll $ff(mdx.dll) SetControlMDX $dname 6 ProgressBar smooth > $ff(ctl_gen.mdx)
dll $ff(mdx.dll) SetControlMDX $dname 7,8 scrollbar vertical > $ff(ctl_gen.mdx)
.dll $ff(hos.dll) RemoveTheme $dname 6
.did -a $dname 6 BarColor $rgb(113,145,187)
.did -a $dname 6 BGColor $rgb(255,255,255)
.did -i $dname 1 1 headerdims 100:500
.did -i $dname 1 1 headertext Admins:
.did -i $dname 5 1 headerdims 75:500 83:500 83:500 100:500
.did -i $dname 5 1 headertext Date: $chr(9) Logged In: $chr(9) Logged Out: $chr(9) Total Daily:
.did -ra mt 7,8 0 1 100 1 1 1
}
}


