Steve Han

Steve Han

  • NA
  • 3
  • 2.2k

C# Table Layout Panel Issues.

Apr 22 2014 4:43 PM
C# Table Layout Panel Issues.
Posted on: 22 Apr 2014
Hello, I got some problems in using Table Layout Panel.
I'm trying to show Thermal values form Thermometer on Table Layout Panel every second.
I made 4 columns and 2400 rows and added label at once. This code is enclosed SuspendLayout()
and ResumeLayout(). It takes about several minutes.
So I tried an alternative way. Write four Thermal values on four Labels and add the Labels in the Panel every second.
It shows moderate speed.
1. Is this a good way? Are there any well trimmed method?
Vertical Scroll bar appears inside the last column. so I made an extra column to give a room for the scroll bar.
It doesn't look good. Every second when I add a Row, the last column also has an additional row.
so the empty last column sticks out until the scroll bar appears.
2. How do I move it out of the panel without using additional column?
Thank you.
Steve.

Answers (2)