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

  • SEARCH
  • Home
  • 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 6543595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:21:57+00:00 2026-05-25T11:21:57+00:00

this question is only for those who use the MDI from Codeplex . I

  • 0

this question is only for those who use the MDI from Codeplex.

I successfully implemented the mdi container and can add or remove child elements dinamically through my code.

My problem is that some of my custom controls (like UserControl) contain a few other controls (ex: TextBox, Buttons, ComboBox, etc), and every control works normally, EXCEPT for the RichTextBox!!!

The issue is that every time I input text in runtime mode, after each char input it automatically goes to another line.

Before you say that may be the way my custom control is built, be assured… it’s not. I passed the control containing the richtextbox to another window and it worked normally.

Anyone has the same problem?? Or solution?? I know the codeplex version is still not fully finished but I’m hoping I’m the one doing something wrong…

Thanks

  • 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-25T11:21:58+00:00Added an answer on May 25, 2026 at 11:21 am

    Found the issue. My RichTextBox Width Property was set to AUTO and for some reason (that is completely oblivious to me), it was what was causing the problem.

    The solution is to give it a physical (a number rather than AUTO) value to it’s Width property.

    In my case, since my control has a TextBox just above the RichTextBox and they’re supossed to be the same width, I’ve set my RichTextBox.Width = TextBox.ActualWidth. Note that I used ActualWidth and not width since the width property in my TextBox is also Auto, but the value returned by ActualWidth is a number.

    Hope it helps someone 🙂

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

Sidebar

Related Questions

Please note that this question is from 2008 and now is of only historic
This is only tangentially a programming question. Where can I find a simple-to-parse list
This question will seem obvious to those who haven't encountered the problem themselves. I
Similar to this question only the other way of flow. Insert Picture into SQL
This question doesn't relate only to MouseEvent.CLICK event type but to all event types
I've looked at this question: Select first instance only with XPath? But if I
I found this question but it was only similar and, more importantly, dated by
I'll preface this question by saying this is for a Microsoft only shop. If
In answer to this question Joel Coehoorn said Finally, only after the site's gone
I realize that this question is impossible to answer absolutely, but I'm only after

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.