We help IT Professionals succeed at work.

Popup menu

Yakeni asked
Medium Priority
Last Modified: 2010-05-02
I have a row of labels (to simulate a verticle menu) and each time one is highlighted i want a pop up menu to appear in the right hand corner of the label.. what code do i need to write to appear the menu at this location.. Could I have code please... This is what i currently have.. Cheers Yakeni

Private Sub lblGUG_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    PopupMenu menu.mnumenu
lblJob.BackColor = &H8000000F

End Sub
Watch Question


Private Sub lblGUG_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
   PopupMenu menu.mnumenu, , lblGUG.Left + lblGUG.Width, lblGUG.Top + lblGUG.Height
lblJob.BackColor = &H8000000F

End Sub

Just a thought...

If you want to make your application look like a dhtml web page, why don't you create a dhtml web page?

When supplying an application interface, one must consider whether the users will be accustomed to it. Right now, I'd say, users see the difference between the web and local applications by either strange interfaces or normal interfaces. When one starts mixing them up, the user won't know what kind of application is running, and will start to make stupid mistakes.

If you want all applications to look like web pages, revolutionize the interfaces of standard applications, and teach all Microsoft users the way things should be, write to Bill Gates and start working for Microsoft.

If not, stick to the interface paradigm provided by Microsoft. The normal user will understand the paradigm and quickly understand your application. If you use a different kind of interface, the user will have trouble using it.

Here's a great page about interface do's and don'ts:
<a href="http://www.iarchitect.com/mdesign.htm" title="Hall of Shame">http://www.iarchitect.com/mdesign.htm</a>


Explore More ContentExplore courses, solutions, and other research materials related to this topic.