mIRC Home    About    Download    Register    News    Help

Print Thread
#65342 25/12/03 10:41 PM
B
bunar
bunar
B
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 ?

#65343 25/12/03 10:56 PM
S
Seifer
Seifer
S
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.
#65344 25/12/03 11:26 PM
Joined: Jan 2003
Posts: 2,973
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Jan 2003
Posts: 2,973
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! }

#65345 25/12/03 11:33 PM
B
bunar
bunar
B
shocked

thank you so much !


Link Copied to Clipboard