when I starded to "finish" my appliaction. The whole MenuStrip and StatusStrip have disappeared!
This wasn't the first time when I lost menu but this time I have made so big work for it so I really dont want to start again as I did last time...
I read another thread but I didn't get my problem solved. I think I lost my menu after I deleted "loading.png" image from resources. I'm not sure does this cause the problem but I think so.
I have all the codes in form1.vb and in form1.designer.vb in looks that:
[CODE...]
Is there any hope to get menu and statusstrip back? :( Or is there any fast way to rebuild them if I have all the codes ready? This was almost finished... now it doesnt look finished at all.
I don't know what I did but I've recently lost my "File" menu and possibly a few more. I don't even remember what was on the menubar but it starts at "Project" now and ends at "Help". Anything that was before "Project" is missing. How can I get this back?
In VB 2010 after working on a form in design mode which has a menustrip and the form is taller than the IDE [Design] window and not returning to the top of the window before running in debug mode, the menu is eliminated from the menubar on the running form when the controlbox is set to False for the form and I could not access the menu.After returning to design mode and scrolling to the top of the form and running debug, the menu returned.Is this a bug in the IDE or what?
I'm coding a Windows Forms App that has a StatusStrip that displays status informations to the user, and hints when the mouse is over relevant things. However, when the program is on it's minimal window size, the text sometimes is bigger than the whole StatusStrip, and the label simply dissapears. There must be a workaround to this, ideally I'd like it to auto ellipsis when the text is bigger than the window allows. But how?
How to showing who is currently logged in statusstrip. if i login as admin then the user id = herdiz level = admin and if I am logged in as a user then the user id = user level = user. please give me ssample code.[code]...
Is there any way to scroll in a StatusStrip when its controls exceed form viewing area? My StatusStrip acts as a taskbar with a lot of labels (acting as buttons) which if there are too many might go outside the bounds of the screen.
I have a StatusStrip at the bottom of the Form. When i run the form I am able to drag it and move it towards the top. So the StatusStrip just disappears. I dont want the user to be able to MOVE the strip. How do I do that ??
How do you get a ToolStripProgressBar to stretch to fill it's StatusStrip when the form resizes? There is no Dock properties for ToolStripProgressBar. I tried setting ToolStripProgressBar.Width and ToolStripProgressBar.Height in the Form resize event but it doesn't do anything.
how to minimize MDIchild windows to the StatusStrip...or is there another toolbar object in VB.NET (2008)? I have a menu layered over my MDI Parent window (which is always maximized) and if I minimize another child window, i can't see it anywhere (unless I minimize the menu too, but I took that ability away from the user)... I think I know how to do this through the menustrip at the top of the window (click on open windows....like in excel or word), but I'd like to see the windows minimized in a toolstrip of the MDI parent.
I have a problem in right aligning a toolstrip on the status strip of the form. It has a property alignemnt set to right but it still remains on the left side of the container.
How to put a control near the right side of the status strip?
I've got a StatusStrip...and I'm trying to initialize some code when it gets focus...so clicking on it should give focus to it right? I've tried the following
I'm trying to draw aero-styled glowing text in a .NET StatusStrip with a DrawThemeTextEx class I found. This is my current code which I use as a renderer for the StatusStrip:
I have a Form with a StatusStrip Component docked at the bottom.The form has fixed width and is not resizable.However the StatusStrip has a little 'resize triangle' at the right. (6 little dots)This gives the impression that the window is resizable.
ive been trying to get statusstrips merging so i can click a label to bring the child form to the front when i have multiple childforms open. I have this code which does work but on closing it leaves the label on the mdiparent and also im struggling with the bring back to front code. i dont want it to open another form just bring it back to front. I have statusstrip set to visible false on my childform. heres some code for merging, this is in mdi parent:-
Private Sub Form1ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Form1ToolStripMenuItem.Click Dim NewMDIChild As New Form1 NewMDIChild.MdiParent = Me
[code].....
and some for bring back to front, this is in form1:-
Private Sub ToolStripStatusLabel1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ToolStripStatusLabel1.Click Dim MDIChild As New Form1
ive been trying to get statusstrips merging so i can click a label to bring the child form to the front when i have multiple childforms open. I have this code which does work but on closing it leaves the label on the mdiparent and also im struggling with the bring back to front code. i dont want it to open another form just bring it back to front. I have statusstrip set to visible false on my childform. heres some code for merging, this is in mdi parent:-
Private Sub Form1ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Form1ToolStripMenuItem.Click
Private Sub bwrkMain_ProgressChanged(ByVal sender As System.Object, _ ByVal e As System.ComponentModel.ProgressChangedEventArgs) _ Handles bwrkMain.ProgressChanged[code].....
but the status text does not change, debug.print does print the message though.i am calling the ReportProgress from another thread created by the backgroundworker thread.
In the windows form designer, I added a StatusStrip control, made some changes to adding items and changed the names of the items to names I would recognize, for instance I changed "ToolStripStatusLabel3" to "lblMode". All was fine until I inadvertenly deleted the StatusStrip. Now when I add it back to the form and try to change the name I get an error saying that the name "lblMode" is already in use. And sure enough it is listed in the items of the properties window, but not dislayed anywhere.
I am not sure how to resolve this. I know there is a window, I think its called "Project Designer" or something similar that is code where controls get added but I CANNOT find this window to view the code.
I'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:
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.
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.
This is going to be hard to explain but oh well.I have a form with a menu. When I hit option one, it opens another form (form2) inside that same form (mdiparent). When I hit X on form2, then try to open it again from the original form with a menu thru the menu, It says it cant access a disposed object. Here is the code: Form1:
I have a list of all the fonts on a users system under a Font menu item. I would like to be able to use the scroll wheel to be able to scroll through these items like you can with a combo box.
Suppose I have ToolStripMenuItem mnuOrderOptions that contains the three drop down items. I want to copy all the items are their respective event handlers to Contextmenu on button click & then bound that context menu with the form.
Private Sub AToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles AToolStripMenuItem.Click MsgBox("A") End Sub[code]....
how to clone the menu items and then bound it to form context menu.