mIRC Home    About    Download    Register    News    Help

Print Thread
#95351 24/08/04 08:40 AM
Joined: Oct 2003
Posts: 42
V
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Oct 2003
Posts: 42
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.

#95352 24/08/04 09:56 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
/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.


-KingTomato
#95353 24/08/04 10:00 AM
Joined: Oct 2003
Posts: 42
V
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Oct 2003
Posts: 42
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.

#95354 24/08/04 10:47 AM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
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

#95355 24/08/04 11:24 AM
Joined: Oct 2003
Posts: 42
V
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Oct 2003
Posts: 42
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


Link Copied to Clipboard