mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#33594 02/07/03 03:29 PM
M
MTech
MTech
M
can
on *:dialog:sclick:x: { }
work on edit boxes?

#33595 02/07/03 03:30 PM
P
pheonix
pheonix
P
yes.
try this, on *:Dialog:name:sclick:id:{
did -r $dname id
}
and it should remove the things in the edit box.

Last edited by pheonix; 02/07/03 03:31 PM.
#33596 02/07/03 03:37 PM
Joined: May 2003
Posts: 215
L
Fjord artisan
Offline
Fjord artisan
L
Joined: May 2003
Posts: 215
The sclick event won't trigger for text or editboxes.

#33597 02/07/03 03:38 PM
P
pheonix
pheonix
P
does for me;\

#33598 02/07/03 03:41 PM
Joined: May 2003
Posts: 215
L
Fjord artisan
Offline
Fjord artisan
L
Joined: May 2003
Posts: 215
Then explain to me what's wrong with this code

Code:
dialog test {
  title "test"
  size -1 -1 100 21
  option dbu
  edit "Click here", 1, 5 5 90 11
}

on *:dialog:test:sclick:1: {
  did -r $dname 1
}

#33599 02/07/03 03:44 PM
P
pheonix
pheonix
P
/me got confused with on *:dialog:name:edit blush

#33600 02/07/03 03:48 PM
M
MTech
MTech
M
soo i cant trigger an event like

on *:dialog:xx:sclick:xx: {
msg $active blaahh $did(xx,xx)
}

#33601 02/07/03 03:48 PM
P
pheonix
pheonix
P
not if its an edit box, but i think you can do it using $mouse

#33602 02/07/03 03:50 PM
M
MTech
MTech
M
hahaha thats too messy

maybe a dll can do this?

#33603 02/07/03 03:51 PM
P
pheonix
pheonix
P
if there is such a dll i would think its mdx.

#33604 02/07/03 03:54 PM
M
MTech
MTech
M
ok, $mouse, i would need help doing it becuase i dont know anything about xx,yy or whatever,

the script is here: http://mtec89.ath.cx/scripts.html its the control panel one.

its updated

Last edited by MTech; 02/07/03 03:56 PM.
#33605 02/07/03 04:13 PM
P
pheonix
pheonix
P
im not too sure on mouse myself, i just presumed considering it gets the position and you can use it for sclick,uclick etc that you would be able to use it.

#33606 02/07/03 04:18 PM
M
MTech
MTech
M
oh smirk ok then ill work on it, but can i have a bit of help? does $mouse measue the current dialog or the whole screen?

#33607 02/07/03 04:25 PM
P
pheonix
pheonix
P
the whole screen but mdx has a feature just for dialogs.

#33608 02/07/03 04:30 PM
M
MTech
MTech
M
wink u wana be a co scripter for this project?

#33609 02/07/03 04:46 PM
P
pheonix
pheonix
P
i wouldnt be much use, coz yet again i dont know the command, i just know it exists grin

#33610 02/07/03 04:47 PM
M
MTech
MTech
M
im looking for a new dialog design...i can give credits to a co scripter...:p

edit:

looking over my scripts...i left no credit to myself in some...:p i guess i dont care much about giving myself credit.

edit2: maybe im just not the type that needs credit? lol but im putting them in as i speak :P

Last edited by MTech; 02/07/03 04:53 PM.
#33611 02/07/03 04:55 PM
P
pheonix
pheonix
P

#33612 02/07/03 05:03 PM
M
MTech
MTech
M
u did that? i like that dialog!

u just used the wrong color (green)

#33613 02/07/03 05:04 PM
P
pheonix
pheonix
P
i took it in green coz the dodgy shadowing when using colours doesnt show up as much smile

Page 1 of 2 1 2

Link Copied to Clipboard