mIRC Home    About    Download    Register    News    Help

Print Thread
#54241 13/10/03 04:16 PM
Joined: Dec 2002
Posts: 32
J
Jaakko Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 32


oki two questions
1. in that picture in the lisbox wheres someones harddisk the horizontal scrollbar doesn't work.. i have hsbar in the dialog creation code. Any ideas why it doesn't work or how i can make it work

2. i have this code "on *:dialog:ftp:rclick:1:{ echo -at hi }" ...it works with sclick but it doesn't work with rclick (it doesn't even show when i put * in it and echo -at $devent)..i've checked no double version of that rclick:1 anywhere. tack o)

two nupie questions but it's getting frustrating when i can't find a solution smile



am a big noob
#54242 13/10/03 04:27 PM
Joined: Apr 2003
Posts: 35
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Apr 2003
Posts: 35
There's no rclick for lists. Clicking over a list with the right key or the left key of the mouse is the same. if you want more mouse actions, try $mouse.key.
You may want to use this:
on *:mydialog:*:*: {
if ($devent != mouse) echo -s devent: $devent || did: $did || mouse.key: $mouse.key
}
As for the horizontal bar, I don't know. Every time I used a list, I used it with mdx and it has always worked.

Last edited by RiffRaff; 13/10/03 04:34 PM.

Who will trade his karma for my kingdom?
#54243 13/10/03 04:31 PM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
/did -z <name> <id> resizes the hsbar smile


new username: tidy_trax
#54244 13/10/03 04:33 PM
Joined: Dec 2002
Posts: 32
J
Jaakko Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 32
hmm but

on *:dialog:ftp:sclick:1:{ echo -at $mouse.key }

on left click it echoes "0"
on middle nothing and on right nothing


am a big noob
#54245 13/10/03 04:41 PM
Joined: Apr 2003
Posts: 35
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Apr 2003
Posts: 35
really?
with me, the left button triggered:
devent: sclick || did: 1 || mouse.key: 1
the right:
devent: sclick || did: 1 || mouse.key: 0

and the middle button did not trigger the event.


Who will trade his karma for my kingdom?
#54246 13/10/03 04:55 PM
Joined: Dec 2002
Posts: 32
J
Jaakko Offline OP
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Dec 2002
Posts: 32
hmm i made a completely new dialog..

Code:
 
dialog menu {
  title "Menu"
  size -1 -1 330 85
  option dbu
  button "Delete", 1, 0 0 28 7
  button "Download", 2, 0 8 28 7
  list 3, 31 9 257 64, size
}
on *:dialog:menu:init:0:{ did -a menu 3 AHOPDFOHIADFPOHIADPFOHIADOPFHIAOPDFIHPIOADFH }
on *:dialog:menu:sclick:*:{ echo -at $mouse.key }
 


it still returns 0 only with left button otherwise nothing...

what version of mirc u using etc?

Last edited by Jaakko; 13/10/03 05:01 PM.

am a big noob
#54247 13/10/03 05:04 PM
Joined: Apr 2003
Posts: 35
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Apr 2003
Posts: 35
You are right.
MDX's fault.
It only worked as I had said after I loaded MDX.


Who will trade his karma for my kingdom?

Link Copied to Clipboard