Community discussion forum

Menus

This is a comment thread discussing Menus
  • 10 years ago

    This thread is for discussions of Menus.

  • Advertisement

    Simply the fastest line-level profiler for .NET ever

    “The low overhead means it has minimal impact on the execution of my program”
    Mark Everest, Development Team Leader, Renault F1 Team Ltd.

    Try out the new ANTS Profiler 4 for yourself. Download your 14-day trial now

  • 6 years ago

    i click view an example and no example???
    i really want to change the look of my menu,change color or nything? ny ideas?

  • 6 years ago

    sorry 'bout that... there was an old style link lurking in there... I have corrected the link on


    http://www.developerfusion.com/show/15/10/, which now points to


    http://www.developerfusion.com/show/49/4/ (menu status subclassing)


    not sure about changing the colour of your menu, other than drawing it yourself, or using one of the http://vbaccelerator.com/ controls

  • 6 years ago

    I have made a menu with1 1 Item (about) set it to enable - unchecked visable
    made a click event(msg box)


    then in my form mouse up event I put

    Code:

    Private Sub Form_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
    If Button = vbRightButton Then
       ' Set the flags
       vFlags = vbPopupMenuRightButton
       ' Display the menu
       PopupMenu about, vFlags
       End If
    End Sub
     I get compile error variable not defined   with vFlags?
    do i need to dim vFlags = "somthing " in the  Option Explicit section of the code?

  • 5 years ago

    In this tutorial i dosent tell you the code for the menu. and im also very new to vb so if someone could tell me what i need to do for the code that would be great.


Post a reply

Enter your message below

Sign in or Join us (it's free).