Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6680803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:31:04+00:00 2026-05-26T04:31:04+00:00

I create a simple form with a MenuStrip. The MenuStrip’s LayoutStyle is set to

  • 0

I create a simple form with a MenuStrip. The MenuStrip’s LayoutStyle is set to HorizontalStackWithOverflow (the default).

According to the MSDN reference on MenuStrip, its LayoutStyle property is inherited from ToolStrip. One of the possible values for the LayoutStyle is HorizontalStackWithOverflow which is also the default setting. This setting should provide items with its Overflow property set to AsNeeded are moved to an overflow button.

When I run the application and resize the form so the menu won’t fit completely, this doesn’t happen. I’ve set my ToolStripMenuItems Overflow property to AsNeeded, but when I resize the form, the menu items on the right just disappear.

Is the documentation wrong and can you only get an overflowbutton on a ToolStrip and not on a MenuStrip? Or is there something else I have to do in order to get things working? Or am I just misreading the documentation?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T04:31:04+00:00Added an answer on May 26, 2026 at 4:31 am

    I just had the same problem, and found a way to get it working.

    On the MenuStrip you need to set:

    myMenuStrip.CanOverflow = True
    

    The default is false.

    Then for each MenuItem you need to set:

    myToolStripMenuItem.Overflow = ToolStripItemOverflow.AsNeeded
    

    or

    myToolStripMenuItem.Overflow = ToolStripItemOverflow.Always
    

    The default is ToolStripItemOverflow.Never

    References:

    MenuStrip.CanOverflow

    ToolStripMenuItem.Overflow

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my Java app I am trying to create a very simple form with
I'm making a simple form to create polls, therefore I want the possibility to
I want to create a simple user registration form with First / Last name,
I have created a simple test form with FormBorderStyle = FixedToolWindow by default and
I want to create a simple form for adding new products using jqModal .
Trying to create a simple form: <%@ Page Language=C# AutoEventWireup=true CodeBehind=register.aspx.cs Inherits=AlphaPack._Default MasterPageFile=MasterPages/Main.master title=Hi
I'm looking to create a simple form with some textfields and a button using
I'm new to cakePHP.I just tried to create a simple form with a text
Two questions. First question is I'm trying to create a simple form that when
how can i create a simple submit form with some UITextfield and button ,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.