Toggle Mode On Menu Strip?
Oct 9, 2010
I want to include two modes in my application. The user should be able to select one of the modes from the MenuStrip. When any of the modes is selected, a check sign should appear next to it as is seen in many application. Both the modes cannot be selected together and there is default mode when the applicaition is started.
View 3 Replies
ADVERTISEMENT
Jan 1, 2011
My program goes like this, i have a log in form where in the admin and guest can access, then the form will navigate to main menu form, i have there menu strip, pls help. how can i disable the subitems in the menu strip if the user is 'guest' for security purposes..
View 1 Replies
Oct 25, 2008
I am totally new to VB and I'd like to know, for example, when a user clicks on "Print" in the menu strip on the keyboard should automatically press "Ctrl+P", because the original print dialog, and the WebBorwser print dialog is toootaly different.
View 11 Replies
Dec 18, 2009
I have an app that runs silently everytime the user logs in. But I want to be able to pass it a parameter to make it print to the console. I use a conditional if statement to do this now, but I would have to recompile the project to set it to false or true.
View 5 Replies
Jul 25, 2009
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
Oct 6, 2011
I have combed these forums and the 'net and can't find an answer to my specific problem. My menu strip disappeared (after deleting a small secondary form within my project). I therefore created a new strip and while recreating the menu items realized that the original menu items are still present, showing in my properties list. I have checked my design file as well and the original menu strip is definitely gone but the original menu items are there. I don't have many items so I would have no problem just deleting the original ones but I can't see them to delete them! I have checked and they are all set to visible. I have also moved everything on my form to see if it is behind anything else.
View 4 Replies
Mar 15, 2011
[URL] RTB include editing such as CTRL-B BY DEFAULT. Same with Context menus.That, to me, means i don't have t write any code and I get those items when I put an RTB on a form.But I don't!
View 2 Replies
Nov 25, 2011
I'm trying to create a toolstrip using the system render mode, but the split button control doesn't look right in Windows 7 It's almost like the drop down button is offset to the right by 1 pixel, or part of the border is missing.
View 3 Replies
Nov 28, 2008
I have a menu strip. In the menu strip I have something for some saved urls in the database, I called it Bookmarks. So I'm trying to fetch the items from the database and have it load in to the menu items.. but it keeps adding items and I only want them added once.
[Code]
View 5 Replies
May 24, 2009
So I'm creating a program that takes a picture of a form. The code that i use takes a picture of the form, then saves it to a file. My only problem is that it takes a picture of the whole form.
View 5 Replies
Feb 27, 2008
I have a vb.net 2005 windows form with a menu strip that keeps disappearing both in design mode and when the program runs. I noticed that on other forms there are more properties listed for the menu than this one has. Anybody familiar with this problem?
I am using a split container with docking set to full below the menu but several other programs are set that way without any problems.
View 8 Replies
Feb 24, 2011
How to get from [URL]to exactly: [URL] If it's not available in VB.net then how in C#?
View 3 Replies
Sep 7, 2009
I added a menu strip to my form. I have added mulitple items to it and it shows up fine when I'm editing it. When I run the program, it does not show up. I tried starting over and redoing the whole project but I'm having the same problem.
View 5 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
Jul 9, 2009
i created a menu strip named file in file menu strip there is an option named Open to access the file menu strip uaing keys "Alt+F",i changed the text to "&File"and its working properly.but what should i do to access the open menu strip item?i did the following but its not working:Private Sub Form1_KeyUp(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp If e.Control = True And e.KeyCode = Keys.O Then Me.OpenToolStripMenuItem.PerformClick()End If End Sub
View 2 Replies
Apr 30, 2010
I'v noticed in a few applications that the menu strip is bevelled looking like: url... i can't seem to figure out how to do it in the menu strip options is it something i'm missing?
View 2 Replies
Feb 26, 2010
I have an INI file that contains several of these following entries.The Section names are all labled ASSET_CONTROLS_#.[code]The "Name" field should be added to the ContextMenuStrip control as a ToolStripMenuItem.If there is a value in "SubMenuNames" in the INI file, the ToolStripMenuItem created from the "Name" field, should have a DropDownItem created under it. I have separated multiple SubMenuNames with a SemiColon, so a loop would be used to create the separate menu items.Command and Parameters are to be used with the Process.Start function when the Menu Item is clicked. What is the best way to code this? I have been trying to do the event handling for the menu items for hours now and can't get it right. I basically want to call a procedure and pass the "Command & Parameter" values to it to use the Process.Start function.[code]
View 11 Replies
Apr 8, 2010
While developing -> I can add a submenu to items in the context menu strip. When I build the application, and show this context menu strip - there is no option to get into this sub menu.
View 13 Replies
Dec 14, 2009
I was wondering if it is possible to disable certian buttons on a context menu strip?
Say i have a start button, and then i click it i want it to disable a button in the context menu strip
P.S, the ContextMenuStrip is being used with a Notify Icon
View 2 Replies
Apr 17, 2007
I have a ContextMenuStrip and a ListBox. I have the context menu connected to the listbox. The menu has two items, Select All and Deselect All. I want to select/deselect all the items in the listbox when a button is clicked. I have done this before for a CheckedListBox but cannot remember how.
View 7 Replies
Sep 1, 2011
I've got a form that needs to inherit a base form. The problem is that the base form has a menu strip. How can I hide the inherited menu strip? Alternatively, how can I exchange the inherited menu for something I construct myself in the new form?
View 2 Replies
May 7, 2012
I'm trying to figure out a way to put a text label at the top of a context menu strip. But as far as I can tell, the only options are "MenuItem", "ComboBox", "Separator", and "TextBox".I reckon I could use a MenuItem for this if I had to, but I think a (non-clickable) label would look a lot more professional.
View 7 Replies
Aug 20, 2010
my menu strip was there, run my project, it vanished. no undos, it's not backed up.
View 4 Replies
Dec 6, 2009
okay so im making a program wherein, the BG color is black, and the menu strip as well, it black.
so the dropdown menu is white w black text, ould comeone help me change the dropdown bg color and dropdown text color? or m bad spelling ive got a broken finger so its hard to type
View 3 Replies
Mar 15, 2010
i want to make only Library Reports Menu enabled if i login as user i.e if i seelct login as user then only menu item which user can access should be Library Reports and Student Details Menu enabled Property should be Flase
View 4 Replies
Feb 13, 2009
Well the context menu strip is the box that appears when we right click during run time if i'm not mistaken. I was trying to make it run but during runtime when i right-clicked in the form nothing happens. I'd like to know if there's a way to make the program run.
View 1 Replies
Feb 21, 2010
I have coded my application to run at startup now this is done by clicking the "run at startup" submenu from the menu strip I'm using when it's click the submenu auto checks and adds a key in the registry to make the form load at startup now I want to make the form "remember" the checked state of the menu even after form restarts I read somewhere that I can do that with the my.settings code
Private Sub SettingsToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SettingsToolStripMenuItem.Click
If SettingsToolStripMenuItem.CheckState = CheckState.Unchecked Then
[Code].....
View 3 Replies
Sep 29, 2010
i'm writing code which can controlling of a text editor by voice when u say for example "file" i want to view file menu strip items
what i want u help me in the code which can view the file items or make it visibility true?
View 5 Replies
Jun 27, 2009
I've had TuneUp Utilities for a while now and I noticed this:Can I do that? Add a reference to my program so that when I click *My App* it'll open my program
View 4 Replies
May 4, 2011
I have a problem with Context Menu Strip Opening event, and i think i can get help here. On ContextMenuStrip1_Opening i have code to check, does any item are selected on listview. If yes, then ToolStripMenuItem2.Visible = True else ToolStripMenuItem2.Visible = False but it anyways using Visible = False and i can't get know why. My code on opening is this:
[Code]...
View 3 Replies