• 0

[VB.NET] Child form use Parent form toolbar


Question

9 answers to this question

Recommended Posts

  • 0

I think I did not say properly.

What I need is:

Base.vb - With the toolbar and a few buttons

Form1.vb - The one, Main.

Form2.vb - When I click a button on a toolbar it opens this. With this open, i wans this to take over anything than is pressed on the toolbar.

I'm starting to get into this MDI stuff, and looked all over for some demo. :(

  • 0

Errrr ok, well under the click event for the particular toolbar button, to show the Form2.vb

you instantiate a new instance and call Show or ShowDialog (for modal).

Dim frm2 as new Form2

frm.Show()

I have no idea what you mean by "i wans this to take over anything than is pressed on the toolbar."

Either you're too adopted to internet shortform, or you can't express yourself too well, maybe try showing us a screenshot with arrows pointing to what you want things to do.

  • 0

post-10656-1107013244_thumb.jpg

Above you see the main form (as a mdi container) and it inherit the toolbar buttons from base.

post-10656-1107013253_thumb.jpg

Now I open up Customer (form.show with mdiparent set to main) with the toolbar still there. Can I now click the forward button to change the text of textbox1?

  • 0

Found someone that speaks better english.

http://windowsforms.net/Forums/ShowPost.as...41&PostID=20548

What he said. One instance of toolbar shared across all childform. Parent form inherits the toolbar from Base

EDIT: http://windowsforms.net/Forums/ShowPost.as...41&PostID=19168

Another unfinish biusness.

Edited by Alvin
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I haven't looked at this in a long time, but it seems to me that outside of a couple of 1st tier vendors, most didn't put the effort in, and we got the generic windows device images. When they did provide the info, it was cool and made it easier to identify devices, but most I dealt with did not, so it had limited usefulness to me.
    • Was really hoping they'd find a way to build this around the Ryzen AI Max+ 395 (or similar) silicon.
    • "running optimized Windows 11 versions" That will be key but I think it is just allowing the new launcher to be the GUI on bootup vs anything else. This thing uses the same hardware as the current ASUS ROG Ally devices, which is not as powerful as an Xbox Series S, but twice the cost.
    • AB Download Manager 1.6.4 by Razvan Serea AB Download Manager is an open-source, feature-rich download manager designed to accelerate downloads, organize files efficiently, and provide seamless control over downloads. With support for multiple connections, resume capability, and an intuitive interface, it enhances the downloading experience for users seeking speed and reliability. The software integrates with various browsers, enabling quick link grabbing and batch downloading. It supports HTTP, HTTPS, and FTP protocols, ensuring broad compatibility with different file sources. Users can schedule downloads, set speed limits, and categorize files automatically for better organization. AB Download Manager is lightweight yet powerful, making it a great alternative to proprietary download managers. Its open-source nature allows developers to contribute, customize, and improve the software as needed. Whether you're downloading large files, managing multiple downloads at once, or seeking an ad-free experience, this tool offers a practical and efficient solution. Key features of AB Download Manager: Multi-Connection Support – Accelerates downloads by splitting files into multiple segments. Resume Capability – Allows paused or interrupted downloads to be resumed without starting over. Batch Downloading – Supports downloading multiple files at once for improved efficiency. Browser Integration – Captures download links directly from browsers for seamless operation. HTTP, HTTPS, and FTP Support – Ensures compatibility with a wide range of file sources. Download Scheduling – Enables users to automate downloads at specific times. Speed Limiting – Lets users control bandwidth usage for optimized performance. File Categorization – Automatically organizes downloaded files into designated folders. User-Friendly Interface – Simple and intuitive design for easy navigation. Cross-Platform Compatibility – Works on multiple operating systems. Ad-Free Experience – No intrusive ads or tracking for a clean user experience. AB Download Manager 1.6.4 changelog: Added Queues are now visible on the home page, next to the categories (#661) In-app update is now supported on macOS (#627) New option to enable the native menu bar on macOS (#646) Fixed macOS: Window now activates properly when "Show Downloads" is clicked from the system tray (#632) Linux: Startup desktop entry now includes an icon (#634) An issue where the "Edit Download" page could unintentionally change the download status (#641) Queue status not updated properly sometimes (#663) Improved Translations updated Minor UI improvements Download: AB Download Manager 1.6.4 | Portable | ~80.0 MB (Open Source) Links: AB Download Manager Website | Github Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Dedicated
      Epaminombas earned a badge
      Dedicated
    • Veteran
      Yonah went up a rank
      Veteran
    • First Post
      viraltui earned a badge
      First Post
    • Reacting Well
      viraltui earned a badge
      Reacting Well
    • Week One Done
      LunaFerret earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      480
    2. 2
      +FloatingFatMan
      264
    3. 3
      snowy owl
      232
    4. 4
      ATLien_0
      231
    5. 5
      Edouard
      171
  • Tell a friend

    Love Neowin? Tell a friend!