mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 271
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
hey, i am workin on something, and i wanted to know:

When you click on an item in a combo box, the item you clicked on is displayed in the "edit box area of the combo box"

Is there any way to have it display only a certain part of the text you select, or even something totaly different?

Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
/help /did

"You can access the edit control in a combobox by using 0 as the N value."

You'll want to use the sclick event for that ID.


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Joined: Dec 2002
Posts: 271
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
thanks, i knew that, duh, lol ty again

Joined: Dec 2002
Posts: 271
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
hmmm, doesnt seem to be working, any idea what - parameter i would use?

did -? lists 11 0 this text

Joined: Dec 2002
Posts: 271
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
ok, got it (-o)
was using -0 by accident, lol (zero) :S

Joined: Dec 2002
Posts: 271
N
Fjord artisan
OP Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 271
Well, there is still a problem, i need this to work when i click on the combo box, but it doesnt, i have to either start a timer, or something, so it has a delay, lets say i click on:

testing : this is what it is

i want

testing

to appear in the editbox for that combox box instead of the whole thing, without a timer, if possible?


Link Copied to Clipboard