SnippetCollection
Forums  
Links
 
Support
 


snippetCollection.com Forum Index FAQ Memberlist Search Usergroups Profile Log in to check your private messages Log in Register
Welcome to SnippetCollection.com, a friendly and fast growing community of programmers, coders, web application developers and more. You are currently viewing our forums as a guest!

This message will go away once you are registered. Also, by registering you will have access to all post topics, communicate privately with other members (PM), respond to polls and access other special features. Registration is fast, simple and absoultely free so please Click Here to join our community

Enjoy our great collection of snippets and tutorials!

Log in
Username:
Password:

 

Our Sponsors
           
Want to list your business here. Contact us.
 Menu on Form View next topic
View previous topic
Post new topic Reply to topic
Author Message
Tcm9669



Joined: 06 Jan 2006
Posts: 123
Location: Malta

PostPosted: Mon Jun 26, 2006 4:34 pm Reply with quoteBack to top

If you want that when you RightClick on your form a men is displayed like for example like MS Word and Excel and so on...
This is the right Snippet for you!

All you need to do is to Create a Menu (press Ctrl + E to open the menu editor)

and make the following code..In this case the Menu is Names as "mnuPopUp"

Code:

Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 2 Then Me.PopupMenu mnuPopUp

End Sub


Thats it Simple but still usefull!! Smile
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT