497 questions
1
vote
1
answer
193
views
Draw *thin* border between cells in TableLayoutPanel
I want to control whether there is a border line between the cells in a TableLayoutPanel, much like I can do in an Excel table.
To begin with, I set my CellBorderStyle to None as suggested in Draw ...
5
votes
1
answer
110
views
Tablelayoutpanel winforms cellpainting event draw a outside curve at first column
I am drawing a outside arc in first cell of each row in TableLayoutPanel. But I get different output.
I get it like this:
This is my code
this.tlp_tra_actual.CellPaint += new ...
0
votes
1
answer
230
views
'AutoSize=true' panel height not adjusting when labels become multiline
I'm currently facing an issue with a panel in my C# WinForms application. The panel is docked at the top of the form with AutoSize set to True. Within this panel, I have a TableLayoutPanel also with ...
0
votes
0
answers
39
views
How to disable resizing of winform tablelayoutpanel?
I have a winform with tablelayoutpanel and I would like to restrict its size when window is resized. Resizing the window resizes the controls as well and the structure gets distorted.
this....
-1
votes
1
answer
340
views
C# TableLayoutPanel Issues while resizing my Windows Form
enter image description herei am trying to make a responsive design for my c# WinForm Project.
I have a MainForm that contains TableLayoutPanel.
TableLayoutPanel contains 2 columns and a single row.
...
0
votes
0
answers
57
views
VS 2020 No access to TableLayoutPanel control in WinForm's C# code view
I have been struggling with this problem all week. I read many posts here but none solved the problem.
The issue I’m having is with a program that is made up of two projects: a WinForm and a ...
0
votes
0
answers
63
views
C# WinForms Large offset when adding rows to TableLayoutPanel (Upd)
I am developing a WinForms app. I have a TableLayoutPanel which has a button that adds rows. At the start, there is one row. But when I click Add for the first time, there's a large offset before the ...
0
votes
1
answer
73
views
C# WinForms TableLayoutPanel acts weird when adding two elements on one row
Wanna use WinForms' TableLayoutPanel in such way: Each row has two columns, one takes 80%, the second one 20%. On the first column, there's a TextBox, on the second: a button. I have made a button ...
-1
votes
1
answer
355
views
TablelayoutPanel Slow Redraw
I have 3 Tablelayouts as nested in my Form, The problem I am facing is the slow redraw when I maximize or minimize the form, I read about the Double Buffered property and found questions regarding ...
0
votes
1
answer
84
views
Access Controls (Text Boxes and Combo Boxes) added in Runtime to Windows Foam
I am adding User Control to my Main Windows Foam, the User Control consist of Tablelayoutpanel which include 2 Combo Boxes,1 Button and 4 Text Boxes, as shown in the picture below:
How can I access ...
1
vote
0
answers
121
views
TableLayoutPanel cell not resizing to fit its dynamically created contents
I am trying to create a Windows Form (C#) that takes in any number of filters, and then creates a Search window by using those filters to create label and textbox pairs for the user to filter their ...
0
votes
1
answer
214
views
how to determine the mouse pointer is on tablelayoutpanel cell border c#
I have TableLayoutPanel on windows form. I want mouse pointer cursor style is cross when the pointer on/near the cell border.
Edit I tried with mouse move event. I get the cell positions where the ...
0
votes
0
answers
58
views
Increasing font size based on size of label programatically for a Windows Forms app in C#
I want to increase/decrease the font size of the text depending on the size of label in a Windows Forms app using C#.
The label's Autosize property is set to True. The label is placed on one of the ...
0
votes
0
answers
50
views
Use 1 ScrollBar for 2 FlowLayoutPanels
I have a TableLayoutPanel with 2 columns and 1 row. In each row is a FlowLayoutPanel in which I want to create Labels. It will have to much labels for my form and I want a scrollbar in it. I already ...
0
votes
1
answer
547
views
how to make visible a tableLayoutPanel behind a transparent image?
pardon me for this question but I'm a c# n00b.
I'd like to show a tableLayoutPanel on the background of an image with transparent sections (so it's not an issue with transparency between 2 PictureBox, ...