|
-
Apr 8th, 2001, 02:39 PM
#1
Thread Starter
Frenzied Member
how do i do a right click on a button. I have seen poeple do something like this
if button2 = true or something like this . How do i do this
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 02:41 PM
#2
you almost have it :
Code:
Private Sub Form_MouseUp(Button As Integer,Shift As Integer, X As Single, Y As Single)
If Button = 2 Then
MsgBox "Right Button"
End If
End Sub
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2001, 02:46 PM
#3
You can replace the 2, with the constant vbRightButton...Either way is find, though.
-
Apr 8th, 2001, 02:47 PM
#4
Thread Starter
Frenzied Member
is this a good way my friend just told me it.
Code:
Private Sub Command3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
msgbox "Right button pressed on button 3"
end if
end sub
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 02:48 PM
#5
it is good to use constants, in case something changes in a new release or something, I was just typing fast
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2001, 02:48 PM
#6
Thread Starter
Frenzied Member
hehe i guess you beat me too it thanks guys your life savers
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 02:48 PM
#7
Originally posted by JasonLpz
is this a good way my friend just told me it.
Code:
Private Sub Command3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = vbRightButton Then
msgbox "Right button pressed on button 3"
end if
end sub
that'll do it...
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2001, 02:54 PM
#8
Thread Starter
Frenzied Member
for now on when ever i make a app using this info i will include a thank you in a section ok . Thanks again I will include megatron and crptcblade
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 02:55 PM
#9
i am honored
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2001, 02:56 PM
#10
Thread Starter
Frenzied Member
also would you like to add a description or comment? about this size
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 02:56 PM
#11
Originally posted by crptcblade
it is good to use constants, in case something changes in a new release or something, I was just typing fast
Or because it's easier to read.
-
Apr 8th, 2001, 02:58 PM
#12
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2001, 03:00 PM
#13
Originally posted by JasonLpz
also would you like to add a description or comment? about this size
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
xxxxxxxxxxxxxxxxxxxxxxxxxxx
For crptcblade
Careful, sometimes he doesn't wear socks.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Apr 8th, 2001, 04:19 PM
#14
Thread Starter
Frenzied Member
ok Done i added it . By the way do any of you have msagent robby instaled on your pc's ? He is needed for this to work.
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 04:24 PM
#15
MSAgent? No I don't think you need it for this purpose.
-
Apr 8th, 2001, 04:30 PM
#16
Thread Starter
Frenzied Member
ok i didnt explain it good. I wanted youz to see my program but in order for it to work you need to have robby installed. So do you have him in there Its a webbrowser that can kill popups and stuff basic stuff no one gave me ideas to add it has its own view source and stuff . I ask you because i have 2 different files one is a big 2.4MB setup and the oher is basic files a misly 140KB
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
-
Apr 8th, 2001, 05:00 PM
#17
Thread Starter
Frenzied Member
small basic file (if you have ms agent and robby installed.
http://microhard2.hypermart.net/OpticBrowser.zip
complete setup and all 2.3mb
http://microhard2.hypermart.net/setup.exe
try it i made a mistake and just edited this
- JayWare
Live to love. Not to Hate
Im to busy to have a site. But I got one and still working on it.
http://dre3k.net/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|