mIRC Home    About    Download    Register    News    Help

Print Thread
push event #65342 25/12/03 10:41 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
in dialog, i still cant find for mirc 6.03 pressed button event, some1 (i think king tomato) said $did -f.... but that works only for sclick event and sclick is for mouse click smirk

how can when pressed i.e. in text box ENTER button some even be executed, like on press /echo -s pressed enter ?

Re: push event #65343 25/12/03 10:56 PM
Joined: Nov 2003
Posts: 228
S
Seifer Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Nov 2003
Posts: 228
There is no event to handle that, you have to work around it.

edit:
I suggested something similar in the Feature suggestions not long ago, I think someone may have posted a work around there.

Last edited by Seifer; 25/12/03 10:59 PM.
Re: push event #65344 25/12/03 11:26 PM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
alias enter { /dialog -m enter enter }

dialog enter {
title "Enter"
size -1 -1 70 25
option dbu
text "Press Enter", 1, 5 5 60 8, center
text "", 2, 5 15 60 8, center
button "Enter Button", 3, -1 -1 1 1
}

on *:DIALOG:enter:INIT:*: { /did -t $dname 3 }
on *:DIALOG:enter:SCLICK:3: { /did -ra $dname 2 Enter was pressed! }


-KingTomato
Re: push event #65345 25/12/03 11:33 PM
Joined: Sep 2003
Posts: 584
B
bunar Offline OP
Fjord artisan
OP Offline
Fjord artisan
B
Joined: Sep 2003
Posts: 584
shocked

thank you so much !