i am going insane
i have triwed another way
i now have
alias mdx { return $findfile($shortfn($mircdir),mdx.dll,1) }
alias ctl { return $findfile($shortfn($mircdir),CTL_GEN.MDX,1) }
alias bars { return $findfile($shortfn($mircdir),BARS.MDX,1) }
alias views { return $findfile($shortfn($mircdir),views.mdx,1) }
dialog auto {
title "Auto Lists"
size -1 -1 169 83
option dbu
list 1, 1 1 167 81, size vsbar
}
On *:Dialog:auto:init:0:{
dll $mdx SetMircVersion $version
dll $mdx MarkDialog $dname
dll $mdx SetMircVersion $version
dll $mdx MarkDialog $dname
dll $mdx SetColor $dname
dll $mdx SetFont $dname
dll $mdx SetFont $dname 1 14 50 verdana
dll $mdx SetControlMDX $dname 1 ListView report single grid > $views
did -i $dname 1 1 headerdims 300
did -i $dname 1 1 headertext Autolist
did -i $dname 1 1 iconsize normal small
did -i $dname 1 1 seticon normal gold.ico
did -i $dname 1 1 seticon normal host.ico
set -u %x 0
while (%x < $lines(auto.txt)) {
did -a $dname 1 +b 1 $read(auto.txt)
inc %x
}
}
and still the same