mIRC Homepage
Posted By: Voice_of_Power /did -c on a combobox - 24/08/04 08:40 AM
Ok, this has me a bit confused... I'm trying to use /did -c to select a part of the text in the edit line on a combo box, but when I try to do that the whole text disapears... it works fine on a normal editbox.

The helpfile doesn't say it doesn't work on combo boxes... but it also doesn't say it does.. I figured that the editline on a combo is the same as an editbox.. or am I mistaken? Maybe someone can tell me what I'm doing wrong, or confirm that this doesn't work?

This is the format I used: /did -c dname id 0 [start] [end]

Thanks.
Posted By: KingTomato Re: /did -c on a combobox - 24/08/04 09:56 AM
/did -c dname id <line>

That's the syntax you shld be using. It's not meant to select multiple lines I don't think.
Posted By: Voice_of_Power Re: /did -c on a combobox - 24/08/04 10:00 AM
Oh, maybe my explanation was a bit unclear. I wan't to select a part of the text on the edit line. I'm was trying to create a script which completes a word on the line, using entries in the combobox. The added part of the word should then be selected, so you can keep on typing.
Posted By: Sigh Re: /did -c on a combobox - 24/08/04 10:47 AM
From what I've seen this isn't possible I'm afraid, but what I'd do if I wasn't using a drop down combo box is just use a listbox in conjunction with an editbox with a small bit of code to simulate the effect of a combobox
Posted By: Voice_of_Power Re: /did -c on a combobox - 24/08/04 11:24 AM
That's too bad.. ohwell can't have it all. I'm using a dropdown, so I don't think a list would do me any good, thanks anyway. smile
© mIRC Discussion Forums