mIRC Homepage
Posted By: ATMA dialog combo - 24/03/03 08:56 PM
this is a bit strang but when i do a drop down combo in a dialog it pops the stuff up in it but it doesnt drop down??

any thing wrong with this?
on *:DIALOG:away:init:*: {
did -ic $dname 16 1 5mins
did -ic $dname 16 2 10mins
did -ic $dname 16 3 15mins
did -ic $dname 16 4 20mins
did -ic $dname 16 5 25mins
did -ic $dname 16 6 30mins
did -ic $dname 16 7 35mins
did -ic $dname 16 8 40mins
did -ic $dname 16 9 45mins
did -ic $dname 16 10 50mins
}
Posted By: MTech Re: dialog combo - 24/03/03 10:20 PM
what about did -a?
Posted By: LO_KEY Re: dialog combo - 24/03/03 10:46 PM
What are the properties for the combo ?

perhaps give it more room to drop,
this would be h in the following line
combo id, x y w h, style

or reset the combo after u done all the did commands...

did -z dialogname ID


Posted By: GBX Re: dialog combo - 25/03/03 01:02 AM
yep, the combobox is always 10 units high, the height you can specifiy at the properties describes the hight of the drop down field
Posted By: PHMinistries Re: dialog combo - 25/03/03 04:57 PM
on *:DIALOG:away:init:*: {
.did -a $dname 16 1 5mins
.did -a $dname 16 2 10mins
.did -a $dname 16 3 15mins
.did -a $dname 16 4 20mins
.did -a $dname 16 5 25mins
.did -a $dname 16 6 30mins
.did -a $dname 16 7 35mins
.did -a $dname 16 8 40mins
.did -a $dname 16 9 45mins
.did -a $dname 16 10 50mins
}
are you trying to get 10 50Mins to show up in the combo?
if your trying to just show 50Mins
get rid of the 10

.did -a $dname 16 10 50mins

make sure the combo is id 16

make sure that the combo is id 16,

that should work
© mIRC Discussion Forums