|
-
Sep 1st, 2003, 06:29 PM
#1
Thread Starter
Addicted Member
-
Sep 1st, 2003, 07:56 PM
#2
I Dont know about the how to make the arrow but is this good enough?
Add a Button(Button1) to a form
Add a Context(ctmTest) Menu to a form
Now Click on the context menu
now you will see 'Context Menu' near where you would normally see File, click on it and Click where it says 'Type here'
Type what you want the menu to say then add another one
VB Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
With ctmTest
Dim pos As System.Drawing.Point
pos.X = Button1.Width
pos.Y = 1
.Show(Button1, pos)
End With
End Sub
Tips:
- Google is your friend! Search before posting!
- Name your thread appropriately... "I Need Help" doesn't cut it!
- Always post your code!!!! We can't read your mind!!! (well, at least most of us!)
- Allways Include the Name and Line of the Exception (if one is occuring!)
- If it is relevant state the version of Visual Studio/.Net Framwork you are using (2002/2003/2005)
If you think I was helpful, rate my post  IRC Contact: Rizon/xous ChakraNET/xous Freenode/xous
-
Sep 3rd, 2003, 02:58 PM
#3
Thread Starter
Addicted Member
Good and simple one.
Thanks.
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
|