473,491 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Right Click to shown pop up menu

How to write a right click pop up menu in VB.net like Windows

could someone guide me and give some hints on that.

thank you very much
Nov 20 '05 #1
7 10834
Cor
Hi A,

Just look for "contextmenu"

Cor
How to write a right click pop up menu in VB.net like Windows
could someone guide me and give some hints on that.
thank you very much



Nov 20 '05 #2
Hello
Add a contextmenu on your form.
To display it , for example over datagrid1.
Point = Me.DataGrid1.PointToClient(Cursor.Position)
Me.ContextMenu1.Show(Me.DataGrid1, Point)

Kind Regards
Jorge

-----Original Message-----
Hi A,

Just look for "contextmenu"

Cor
How to write a right click pop up menu in VB.net like Windows could someone guide me and give some hints on that.
thank you very much



.

Nov 20 '05 #3
* " A-PK" <pi********@hotmail.com> scripsit:
How to write a right click pop up menu in VB.net like Windows


Add a ContextMenu to your form and assign it to a control's
'ContextMenu' property.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
i knew what to do already. TQ : )
"Cor" <no*@non.com> wrote in message
news:O6*************@tk2msftngp13.phx.gbl...
Hi A,

Just look for "contextmenu"

Cor
How to write a right click pop up menu in VB.net like Windows
could someone guide me and give some hints on that.
thank you very much


Nov 20 '05 #5
* " A-PK" <pi********@hotmail.com> scripsit:
i knew what to do already. TQ : )


Did you solve your problem?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #6
yes...i solved it already

but did you know how to make one frame dynamic ?
meaning that if I open the windows bigger a bit, then one of the frame will
become bigger as well
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:c0*************@ID-208219.news.uni-berlin.de...
* " A-PK" <pi********@hotmail.com> scripsit:
i knew what to do already. TQ : )


Did you solve your problem?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #7
* " A-PK" <pi********@hotmail.com> scripsit:
but did you know how to make one frame dynamic ?
meaning that if I open the windows bigger a bit, then one of the frame will
become bigger as well


Did you have a look at the frame's 'Anchor' and 'Dock' properties?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1832
by: Chris Bond | last post by:
Has anybody got any sample code that I can use with the Microsoft IE Treeview Control so that when you right click on any node you get a popup menu (oblessly i need the treeview.selectedindex...
3
1874
by: Leon | last post by:
Is it possible? Say We have a list of suppliers link like A supplier B supplier when right click on a supplier, a context menu(that has "details","view products", etc) appears and click...
3
35248
by: VM | last post by:
How can I display my own popup menu when a user right-clicks inside the form? I know you use context menus but I don't how to implement them. Thanks.
0
2324
by: VM | last post by:
I'm having a synchronizaition problem when I display a right-click popup mouse and when I have the code that checks where in the row the user clicked in order to mark the whole line. With the...
1
3436
by: T.H.M | last post by:
Hello I create a datagrid(C# visual studio .net , aspx file) with a few column. One of the column is button column, linkButton type. In run time when I click on the data in the column with right...
3
1269
by: Robert | last post by:
I have downloaded the demo from MS. There is this code in the control: ' Enable or disable IE's context menu? This allows the parent host ' to render its own. Public Property...
0
1266
by: rdemyan | last post by:
I have a form that is displayed in datasheet mode. The form recordsource is simply Select * From.... with an Order By clause. When I right click to bring up the popup menu, the 'Filter by...
1
14295
by: Preeti | last post by:
Hi all I am a fresher and have been given a requirement in VB.net I have to make an application in VB.net which will run as a system tray icon and will add one or two items in the default...
0
2064
by: WillChapman | last post by:
Hello charitable, I have a repetitive task that requires the user to go to a command prompt, navigate to a folder (usually deep in the system), and perform a syntax scan on a file (with an in-house...
0
1029
by: phill86 | last post by:
Hi, I have enabled tabbed documents and display doccument tabs in options current database and I would like to disable or change the drop down menu that you get when you right click on a tabbed...
0
6974
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6852
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
277
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.