Popup Menu On A Panel?
Jul 26, 2009how to add a right click menu onto a panel?
View 4 Replieshow to add a right click menu onto a panel?
View 4 RepliesHow can I create a popup menu in vb 2008 for use as a context sensitive menu for when I right-click?
View 2 RepliesIs there a way of creating a popup menu in vb.net?I want to be able to click a button and it pop up the menu next to the button.But, I want the size of the text in the menu a bit bigger.anyone know how to do it?(I have been trying for a while now and can't work it out)
View 4 RepliesI am wanting to popup a menu when a user presses the right mouse button on my listview. Here is my code:
If e.Button = MouseButtons.Right Then
Me.cnmnuLstCopy.Show(Me.cnmnuLstCopy, e.Location)
End If
I am getting this error:
An unhandled exception of type 'System.StackOverflowException' occurred in System.Windows.Forms.dll
How can i call ckeditor as a pop up menu. I want to retrieve a file on the ckeditor. For example .txt file. How can i do to call the .txt file. I implement it on vb.net.
View 1 RepliesI'm using winforms and vb.net.When I right click on a textbox I get the copy/paste/etc popup menu. This is ok. But How can I add something to this menu, and where/how would I intercept the event when one would click on the Item I add to it?
View 2 RepliesI have created a popup menu so that when the user right clicks it appears(in the mouseclick event). the problem is that the popup is only enabled when inside the richtextbox and this is set to readonly and i want the popup menu to enable when in either of the 4 input boxes(rtbinput1 ect)
[Code]...
I am trying to create a popup menu when a user right clicks an icon in my systray. I need to have 3 items in this menu. How do I do that?
View 16 RepliesUsing winform w/vb.net.When I have form w/a textbox and one right-clicks on the textbox a context menu pops up w/copy/paste options. How do I disable this from poping up (I want to use the right-click for my one function)?
View 2 RepliesI have an AppBar application that I've added a few drop down menu items and context menus to, but each and every time I try to access the menus, they appear outside of the form. This is what's happening with the drop down menu button I've added to my status strip, and context menus show up on the right side as well.
View 2 RepliesHow do I stop a popup menu from being displayed if a cell has not been selected in a DGV?
View 5 RepliesIs there a way to add a Header to the popup menu? I don't find a property for this.
View 3 RepliesI have a textbox on my form and I am showing a contextmenustrip when the user right clicks on it. That all works but the only problem is the copy,paste,cut etc menu is appearing above it. How can I disable the copy,paste and cut menu from appearing?
View 1 RepliesI am wanting to display a popup menu when a use clicks the right mouse button on my ListView.I have created a ContextMenuStrip with the items I would like.
[code]...
The thing is, the menu is way up to the top left. How can I set it to be where the user presses the mouse.Also, how can I set it to pop up only when the user presses the right mouse button on the lstView.
I would like to include a menu system like the control panel in win7 with the large 48 x 48 icon, a title and a link for the navigation like this: What is this style called? and are there any free versions I can include as a DLL to my project?
View 1 RepliesI have a panel that I have made double-buffered so that any controls on it don't flicker when it slides in and out from the left side of the form.The problems I'm having is:SOLVED When the MouseHover event is triggered, the panel doesn't slide out, it goes from its initial size to its full size without incrementing.SOLVED The MouseLeave event is triggered when I mouse over any control inside the panel.
The MouseHover event of the panel:
vb
Private Sub pnlMenu_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles pnlMenu.MouseHover
If blnDocumentsMenuExtended = False Then
Do Until Me.pnlMenu.Width = 28
[code]....
im trying to make a popup blocker type message box that pops up when a popup tries to load a page, and it asks The page [URL]is trying to open,open in a new tab?
(label)
No (button) Yes (button)
how would i make a menu appear when i click somwhere on the page,how would i make it recognise a picture, and be able to copy it to a location on the local drive?
I'm trying to use the WebKit-component ([URL]) in VB with the help of Visual Studio 2008. This is running without problems, except for two following two issues:
1. Hints/Tooltips are not shown (e.g. as there usually will appear one if you stay with the mouse over the Google-logo)
2. If there's a popup-window, I don't know how to get the new desired URL.
[Code]...
I'm working with a Silverlight Popup control (SL4). I would like to update data shown on that popup every time the user opens it (IsOpen=true) by passing a string and calling a Private method located in the Popup control behind code to fetch updated data.
I was hoping to place code to make this happen in the Opened event of the Popup, but such an event does not seem to exist (even though I found some documentation on it).
I have a usercontrol that has a popup that displays another usercontrol when the user selects an item from a listbox. When the parent initializes, all the usercontrols initialize.
<Popup x:Name="PopContactLogs" Width="670" StaysOpen="True" AllowsTransparency="True" PopupAnimation="Fade" PlacementTarget="{Binding ElementName=PageCustomerHome}" Placement="Center">
[Code]....
and it just keeps the original data in there. I'd really like to just reinitalize it every time and basically have a new webpart each time.
I need to center the red panel in the middle of the dark grey panel, when you resize the form the red panel should be in the middle, and the red panel can't be resize, anyone have a code or property to do this?
View 2 RepliesI would like to add an effect where a panel sweeps out of the way to make room for another panel. This is sort of like a sliding effect, and I think at one point in time this could be seen on Apple's website under their product pages. I came up with some code, but it isn't working.
[Code]...
When a user is editing a given piece of data, they're allowed to add messages/comments. These are stored as child records in a SQL database. Clicking on the Add Message button brings up a panel (pnlMessage) courtesy of the AJAX ModalPopup Extender. This takes some input and, when the "Send Message" button in the panel is clicked (I learned the hard way to NOT make that the 'OkButton' property), the message is stored in the database and an email is sent to the intended recipients. No problem there.
However, I need to be able to allow the user to add new email addresses (so long as they are registered in our database). I have another ModalPopup / panel combo (pnlSearch) that's tied to a button on the previous panel (pnlMessage).
The user is supposed to be able to add an email or click on a search button to populate a list to choose from.
The pop-up panel (pnlSearch) comes up just fine, but clicking the "Lookup" button (which instigates the search and returns a collection of records that the user is supposed to pick from) closes the panel.
Previously, I ran into the problem of having the Button.Click event never firing when I put the Button into the "OkControlID" property (the CancelControlID works fine since I don't want to do anything). Removing the "OkControlID=Button" line allowed it to work perfectly with the Button.Click event firing as expected.
So now I have the Search panel with a button for "OK" and a button for "Search" - but the panel should stay up and visible after the Search.Click does it's thing. Am I missing some property that basically says "don't close the panel when this button is clicked"? Of course, if I bring up the panel again in the same session, the results from the previous effort are there (the search results).
I have a TopBar, A LeftBar, A VScrollBar, A HScrollBar and a Panel inside a SplitContainer Panel.The issue I'm having is that when my SplitContainer Panel is small enough to enable one of the ScrollBars, I will slide the ScrollBar and then when I resize the Split Panel, my Panel1 is staying where I scrolled it too.I'm having troubles thinking of the correct code to fix this.
[Code]...
I was trying to move some dynamic control within the parent container like panel or a group box how do i do that?
View 12 RepliesI'm working on a visual studio 2008 VB.Net project (.net framework 2.0), and am having some trouble with the Panel control using a fixedsingle border. As a small example of the problem, suppose I have one Panel2 contained inside of Panel1. If the Left position of panel2 is set to 0 (meaning it's border is up against the left edge of Panel1), the left border will show as bold, and slightly indented.
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form[code].....
What I'd like to see is just a single line, not bold or indented, where the two panels borders are equal.Is there a property or custom paint technique I could use to achieve this behavior?
This is for a mapping/plotting program.
t.panel is the main panel and it has too much content to fit in one screen so there are scroll bars. x.panel contains the horizontal scale for the data points in t.panel. I drew the scale using a bitmap and set it as x.panel's background.
Setting x.panel's horizontalscroll.value = t.panel's horizontalscroll.maximum doesn't seem to work. I think this is because x.panel's doesn't have any content that causes it to need scroll bars.
Attached is the image from an Office application, how can we emulate such?
View 6 RepliesI'm trying to get my context menu appear in my tasktray, while the tray appears the menu doesnt when i right click. Here is all my code associated with my task tray:
[Code]...
How do I make a menu item on a menu strip link to another windows form (like a menu item that links to an about page already created in the project). I know that every coder knows how to do this, but i've read most of the instructions in the world for Visual Basic coding, but can't find ANYTHING I know coding fairly well, so I can modify it, but I can't create it my self.
View 4 Replies