Results 1 to 3 of 3

Thread: How to make a "drop right button"? (RESOLVED)

  1. #1

    Thread Starter
    Addicted Member AlvaroF1's Avatar
    Join Date
    Sep 2002
    Location
    SP - Brazil
    Posts
    200

    Question How to make a "drop right button"? (RESOLVED)

    This button is from M$ OutLook Express 6.

    How to make a button like this?


    Thanks.


    PS: Don't worry about the words, they're in Portuguese...
    Attached Images Attached Images  
    Last edited by AlvaroF1; Sep 3rd, 2003 at 02:59 PM.

  2. #2
    Frenzied Member <ABX's Avatar
    Join Date
    Jul 2002
    Location
    Canada eh...
    Posts
    1,622
    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:
    1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    2.         With ctmTest
    3.             Dim pos As System.Drawing.Point
    4.             pos.X = Button1.Width
    5.             pos.Y = 1
    6.             .Show(Button1, pos)
    7.         End With
    8.     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

  3. #3

    Thread Starter
    Addicted Member AlvaroF1's Avatar
    Join Date
    Sep 2002
    Location
    SP - Brazil
    Posts
    200
    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
  •  



Click Here to Expand Forum to Full Width