Add One Task Menu To Control?
Oct 21, 2009
i'm building a custom control to draw graphics. In my control i have a picturebox and one propertygrid, what i need it's to hide all the public property's of the picture box (browsable(false)), but i don't see how to do it...
Other question, it's possible to add one task menu to my control? Kind of the the task menu of the datagridview where we can set the datasource...
View 2 Replies
ADVERTISEMENT
Nov 24, 2010
is it guaranted that a task A started before TaskB will be completed before task B assuming the task do the same level of operatons?or in other words is there a chance that a task B will finish before tast A in the assumption that the task calls the same procedure?
View 4 Replies
Apr 9, 2010
I have a masterpage where I have placed a menu control with names Menu1, Menu2, Menu3. All the menu items have code behind pages and I want to change the color of menus when someone clicks on it i.e. when someone clicks on Menu1 it should be selected and its color should change to yellow and others should be Blue and so on.
I have tried static selected style but its not working when the menus have code behind pages.
View 4 Replies
Mar 29, 2012
I have a menu control and what im looking to do is change the color of each of the menuItem but dont have a cssClass property to do so. How could I accomplish this.[code]...
View 2 Replies
Jun 21, 2009
Dropdown menu IN tab control?
View 13 Replies
Jan 12, 2011
I downloaded a nice menu control from this webpage [URL]. I added the control to my toolbox, and dragged and dropped it onto my form. The problem is I can't see any way of adding menu items. There is a property named items, but that doesn't seem to add menu items to the menu. There doesn't seem to be any other property that would add the items. Any way of adding code to add the menu items.
View 11 Replies
Sep 10, 2009
I am migrating code from vb6 to vb.net (using vs2005 as my ide) I have added a resource that is a .chm file that contains help information (that i have not written) and what i want to do is open the file to a "page" on the click event of a menustrip tool item.
How can i use the click event of the menu strip item to open an explorer window that displays help like pressing F1 in visual studio 2005 on the term INTEGER and getting the help page on the visual studio help bit to do with integers
View 3 Replies
Oct 2, 2010
I need some code to add the contextmeu to the richbox Not the tabcontrol But the richtextbox is in the control, So I have the CType(TabControl1.SelectedTab.Controls.Item(0),RichTextBox) But now what to add the context menu?
View 6 Replies
Apr 20, 2011
I have a Menu control to which I've added a Logout menu item. The code looks like so:
Protected Sub Menu1_MenuItemClick(sender As Object, e As System.Web.UI.WebControls.MenuEventArgs) Handles Menu1.MenuItemClick
If e.Item.Value = "Logout" Then
[Code]...
When I logout it redirects fine, but it doesn't seem to be abandoning the session. I've successfully implemented logout in another application by using a LinkButton, this seems to be an issue specifically with the Menu control?
View 3 Replies
Jan 2, 2012
Can I create a control that has 2 menu's characteristic:
Do not take form's focus on clicking. Automically disappear when clicking outside.
I intend to draw it manually, but I realise I can't draw outside of form's border like system menu.
View 2 Replies
Oct 20, 2011
I'm using VS2010 Express but there doesn't seem to be an option to create a control library project. Is this not included in this version or must I download it from somewhere?
View 2 Replies
May 19, 2011
My dropdown controls are appearing above my menu control, is there a way around this?
View 2 Replies
May 14, 2010
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 Replies
Feb 9, 2010
q1/ how can i add a menuitem to ie edit control context menu? is it a registry setting? q2/ after i've added a menuitem to ie edit control context menus, how can i programmatically edit the text in that edit control when i click my menuitem?
View 3 Replies
Aug 27, 2009
I want to avoid paste operation in combox box control. to suppress the system context menu for copy and paste, I did following steps1) Create a empty new context menu (just drag drop new context menu on the form)
2) Assigned newly created empty ContextMenuStrip to combo box ContextMenuStrip property. Is it the right way to avoid right click system context menu? is there any other way to do so?
View 4 Replies
Jan 28, 2010
I've made a Context menu that adds a new node to the control. But it doesn't work.
Private Sub ToolStripMenuItem10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripMenuItem10.Click
Maps.BeginUpdate()
Dim i As Integer
[Code] .....
What I am trying to achieve is for example map1 is already there so if you add a new map it will add +1 to the i and return map2 etc.
View 3 Replies
Apr 14, 2009
I have three buttons that all share the same context menu. How can I determine which control called the context menu to appear?
View 4 Replies
Mar 22, 2010
Disable the WebBrowser control context menu visual studio 2008.somebody said: place the following code in your form load method on a form with a WebBrowser control:[code]
View 2 Replies
Mar 25, 2011
Any way I can set parent of the MainMenu control? I don't want to use other controls because there is no windows 7 or vista style as in picture. Other controls have just ugly blue and white color. When I add MainMenu it sets position on top of the form. I want to set MainMenu Parent to one Panel. Other controls have just ugly blue and white color.
View 8 Replies
May 27, 2011
I need to create a menu bar (similar to VB6) for my ASP.NET application.
What I don't need is a standard navigation menu bar (plenty of those out there). I'm not redirecting to a different page. What i do need is a menubar that will behave similarly to a VB6 menu, or ASP.NET button control. I have to postback and execute some VB code (depending on what menu item the user selected).
View 3 Replies
Feb 14, 2011
What I hope is relevant code below, I would like the User to be able to Right click when hovering over the PictureBox container of a User Control and pop up a menu which allows a User to check or uncheck an item in the context menu. How can I acheive that?
[Code]...
View 2 Replies
May 8, 2011
I have 10 PictureBox on a windows form (created in Design View) and a context menu strip is attached to each of them. I am trying to set the property of the PictureBox using the context menu.
View 1 Replies
Jul 29, 2009
what is the correct control for displaying mouse event -> right click? i tried the ContextMenuStrip control but it seems i can't change its location, can i?
View 17 Replies
Mar 27, 2012
I have a program that has two list boxes. I want to have the user right click either listbox and remove an item using the context menu option. I have tried to use GetChildAtPoint (control.mouseposition) but I cannot return a control the mouse is over. I then tried to use the _Click event of the context menu to get the sender, but the sender is the contextmenu control. Here is the code I am using:
Dim ctrl As Control = Me.GetChildAtPoint(Control.MousePosition)
If ctrl Is Nothing Then
Exit Sub
[Code]....
View 2 Replies
Mar 22, 2011
I have 10 textboxes on a windows form. Each textbox has the same contextmenu. Say they are named textbox1 - textbox10. What I need is when I right click in one of the textboxes I need to capture the name of the textbox in which the contextmenu was called. So if I am over textbox2 and right click for contextmenu then select menu item #2 in the click event I need to capturethe textbox control I called the contextmenu from (textbox2) so I can send that name to a function to process my other code.
View 2 Replies
Jan 11, 2011
I am looking for a nice menu control to add some styling to my application. I search the forums and codeplex and codeproject. I found one that is nice..[URL] but I need to be able to embed a textbox for some input.
View 2 Replies
Feb 12, 2012
I am changing the content menu strip of the control to my menu strip but nothing happens.I can see my menu strip in the rest of the form but dhtml edit control does not react to right click.
View 2 Replies
Apr 7, 2010
When I open a form in my application and I maximize it, the Icon and the ControlBox are merged in the menu of the MDI parent where I open the form in. That is perfectly normal.
But when I close that form and open an other and also maximize it, I get two icons and two control boxes in my menu. When I close that form and open an other again and maximize it on it's turn, I get 3 icons and 3 control boxes in my menu. When I close the maximized form shouldn't the icon and the controlboxes dissapear?
View 3 Replies
Sep 9, 2005
disabling the context menu for webbrowser control in Windows forms using c#.
View 2 Replies
Sep 6, 2009
How does one get the context menu to appear when right clicking a "custom" windows title bar? I want the default context menu (the one that appears when clicking a forms caption bar) to show when clicking a control on a form... generally i want to make my own title bar (caption bar) for a form...the code that fails is "formTitleContext"also any suggestions to writing more concise code for this task will be greatly
View 4 Replies