mIRC Homepage
Posted By: MTech sclick - 02/07/03 03:29 PM
can
on *:dialog:sclick:x: { }
work on edit boxes?
Posted By: pheonix Re: sclick - 02/07/03 03:30 PM
yes.
try this, on *:Dialog:name:sclick:id:{
did -r $dname id
}
and it should remove the things in the edit box.
Posted By: lammkott Re: sclick - 02/07/03 03:37 PM
The sclick event won't trigger for text or editboxes.
Posted By: pheonix Re: sclick - 02/07/03 03:38 PM
does for me;\
Posted By: lammkott Re: sclick - 02/07/03 03:41 PM
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
}
Posted By: pheonix Re: sclick - 02/07/03 03:44 PM
/me got confused with on *:dialog:name:edit blush
Posted By: MTech Re: sclick - 02/07/03 03:48 PM
soo i cant trigger an event like

on *:dialog:xx:sclick:xx: {
msg $active blaahh $did(xx,xx)
}
Posted By: pheonix Re: sclick - 02/07/03 03:48 PM
not if its an edit box, but i think you can do it using $mouse
Posted By: MTech Re: sclick - 02/07/03 03:50 PM
hahaha thats too messy

maybe a dll can do this?
Posted By: pheonix Re: sclick - 02/07/03 03:51 PM
if there is such a dll i would think its mdx.
Posted By: MTech Re: sclick - 02/07/03 03:54 PM
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
Posted By: pheonix Re: sclick - 02/07/03 04:13 PM
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.
Posted By: MTech Re: sclick - 02/07/03 04:18 PM
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?
Posted By: pheonix Re: sclick - 02/07/03 04:25 PM
the whole screen but mdx has a feature just for dialogs.
Posted By: MTech Re: sclick - 02/07/03 04:30 PM
wink u wana be a co scripter for this project?
Posted By: pheonix Re: sclick - 02/07/03 04:46 PM
i wouldnt be much use, coz yet again i dont know the command, i just know it exists grin
Posted By: MTech Re: sclick - 02/07/03 04:47 PM
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
Posted By: pheonix Re: sclick - 02/07/03 04:55 PM
im not very good at dialog design
Posted By: MTech Re: sclick - 02/07/03 05:03 PM
u did that? i like that dialog!

u just used the wrong color (green)
Posted By: pheonix Re: sclick - 02/07/03 05:04 PM
i took it in green coz the dodgy shadowing when using colours doesnt show up as much smile
Posted By: MTech Re: sclick - 02/07/03 05:07 PM
ic...u still interested?

editz:hehe im getting pm's now rofl
Posted By: pheonix Re: sclick - 02/07/03 05:08 PM
ok.
Posted By: MTech Re: sclick - 02/07/03 06:00 PM
hey pheonix, im also looking into some other features, online time, where it displays how long you have been connected since the first second you loaded the script. just keeps counting...like mirc's timer
© mIRC Discussion Forums