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 7894641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:26:52+00:00 2026-06-03T07:26:52+00:00

After searching for a few days, i thought maby someone can help me. I’m

  • 0

After searching for a few days, i thought maby someone can help me.
I’m making a Windows form Application. And on one of my views i have a repeater with a label in there. This label is dynamicly sized. But My DataRepeater item won’t adjust to the size of my label.

Has anyone a idea how to fix this?

The datarepeater i use is from the visual basic powerpacks.
If any more Infromation is needed to help me, please let me know.

Regards Stephan

  • 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-06-03T07:26:53+00:00Added an answer on June 3, 2026 at 7:26 am

    It looks like DataRepeater is very limited with regards to resizing. I found this website that it looks like they got it working, but all of the items resize to the same size.

    http://social.msdn.microsoft.com/forums/en-US/vbpowerpacks/thread/c93579f2-8b4c-4002-9ce2-152e2dddd10e/

    Edit:
    This solution is a little bit more complex, but VERY flexible:
    You can use a FlowLayoutPanel:

    You create an User Control for the item on the list and add a Select Property to the User Control.
    You add a list of the User Controls to the FlowLayoutPanel.
    When the User Control change size, it automatically adjust everything in the FlowLayoutPanel. (Disable WrapContents to prevent Horizontal Scrolling)

    http://msdn.microsoft.com/en-us/library/ms171633.aspx

    You can use the following in the UserControl to enable Click on the User Control to select it:
    Click event for .Net (Windows Forms) user control

    In the form that use the FlowLayoutPanel, you add the Click event, and then apply the Select to only that one User Control.

    You can use the SetBoundsControl inside the User Control to set the size of the item.

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

Sidebar

Related Questions

After a few days of searching the net on how exactly I can go
I've run into an issue using jPlayer and I thought after searching a few
After a few days of searching around and trying different code, I still am
After a few hours of searching the web I couldn't find much help on
After searching online and reading the Oracle documentation for this, I need some help
There are a few posts about this, but after hours of searching I still
After a few hours of searching I must admit that I am defeated. I
After days of searching on google, I finally pushed myself to ask the question
What I'm trying to do seems very simple, but after a few days of
I would like auto-updates to be enabled for my application. After lots of searching,

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.