mIRC Home    About    Download    Register    News    Help

Print Thread
scroll pos of an edit box #113637 07/03/05 04:59 AM
Joined: Jun 2004
Posts: 87
B
biggem001 Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
is ther a way wher i can get a signal when an edit box ise being moved up and down?

Re: scroll pos of an edit box #113638 07/03/05 05:13 AM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
I don't understand what you mean? Can you possibly explain it a tad better? It's getting late.

Re: scroll pos of an edit box #113639 07/03/05 05:18 AM
Joined: Jun 2004
Posts: 87
B
biggem001 Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
well ok, u no if u loadbuf a file into a small editbox, ur gonna havta scroll down a little bit

well i wanna get on each time the scroll has changed, i get the top line of the edit box


like if i move down 1 line, and the top of the edit box is line 1

the top of the editbox is now line 2 cause i scrolled down 1 line, and i scroll another line, the top is now at line 3!

ya get wat im saying? but i need it so i no that line

Re: scroll pos of an edit box #113640 07/03/05 05:26 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I beleive only in a custom windows editbox.

on *:KEYDOWN:@:38:echo -st pressed key $keyval .. $keychar .. $keyrpt .. UP
on *:KEYDOWN:@:40:echo -st pressed key $keyval .. $keychar .. $keyrpt .. DOWN

edit. Sorry im talking about the wrong type of editbox above.

Last edited by DaveC; 07/03/05 05:27 AM.
Re: scroll pos of an edit box #113641 07/03/05 05:28 AM
Joined: Jun 2004
Posts: 87
B
biggem001 Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
i could do it in @windows easy, but i need edit box, cause it has to be able to be editable

Re: scroll pos of an edit box #113642 07/03/05 05:33 AM
Joined: Sep 2003
Posts: 4,230
D
DaveC Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
Sometimes you need to be clear as to where your talking about, since there is the /editbox and $editbox command and identifier that both deal with well the editbox LOL which is the bit ya type in in a channel or custom window etc.

Re: scroll pos of an edit box #113643 07/03/05 05:38 AM
Joined: Jun 2004
Posts: 87
B
biggem001 Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
sry i mean like a dialog editbox

Re: scroll pos of an edit box #113644 07/03/05 08:27 AM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
His question on another website was a little clearer:

Quote:
is ther a way wher i can get a signal when an edit box ise being moved up and down?


The answer is no.


New username: hixxy