Global Menu (app specific)
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
Out of raw desire for experimentation, I took a web browser I have been working on for the past month and ripped it's Menu strip out of the main form and reorganized a bit. The result was an 'almost' fully functional menu for my browser which was separate from the browsers form, and docked at the top of the screen. It works fine, I can quit the browser by choosing quit from the 'app menu' as I call it for now, add new tabs to the browser from it, etc etc. My only recourse is that if the browser app is maximized it then covers the pseudo-global-menu-that-only-controls-this-one-app-so-it-is-hardly-global menu. Because of this, when finished using the maximized browser, you would have to un-maximize the browser. The menu form is completely covered by the browser when maximized.
So my question is, how do I tell a form that when maximized it can not exceed it's boundaries. I would like at most 1/4 of an inch of space between the browser form and the menu form.
Let me know if you need any more information, I have a feeling it is simpler than I am making it, but I tend to complicate things unnecessarily.
So my question is, how do I tell a form that when maximized it can not exceed it's boundaries. I would like at most 1/4 of an inch of space between the browser form and the menu form.
Let me know if you need any more information, I have a feeling it is simpler than I am making it, but I tend to complicate things unnecessarily.
If you use the dock property, change it to none. Then change the anchor property to all (top, left, right, bottom), so now you can change its position and such, it will also have the same space every time between the other controls.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!
![Image]()
![Image]()
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;
Over 30 projects with source code!
Please give reputation to helpful members!

Seems like a good idea to me. However, I do not have the 'Dock' property available to me on either Form1 or Form2. I always get lost with the properties though... it seems I can never get the hang of them. I am attaching a screen of what I have so far...
Form1 is the top (global-ish menu) and Form2 is the browser itself. Form1 has a menu stip expanded to the entire form.
Form1 is the top (global-ish menu) and Form2 is the browser itself. Form1 has a menu stip expanded to the entire form.
You do not have the required permissions to view the files attached to this post.
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023