Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
142 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 ...
Micra's user avatar
  • 1
0 votes
0 answers
38 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....
Abhinav Kumar's user avatar
-1 votes
1 answer
184 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. ...
Szwitch's user avatar
0 votes
0 answers
44 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 ...
Stan Rydz's user avatar
0 votes
0 answers
60 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 ...
MrArsikk's user avatar
0 votes
1 answer
39 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 ...
MrArsikk's user avatar
-1 votes
1 answer
297 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 ...
Adil Ahmed's user avatar
0 votes
1 answer
70 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 ...
Adil Ahmed's user avatar
1 vote
0 answers
99 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 ...
shakasa's user avatar
  • 11
0 votes
1 answer
187 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 ...
Gokhan's user avatar
  • 497
0 votes
0 answers
55 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 ...
Avinash Nagdev's user avatar
0 votes
0 answers
47 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 ...
throwawayyaw512's user avatar
0 votes
1 answer
461 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, ...
abaww's user avatar
  • 11
0 votes
0 answers
173 views

How to set Size of colum and row of tablelayoutpanel in winform

I want to create a tablelayoutpanel use C#. This is my codes: private void create_table() { table = new TableLayoutPanel(); table.Size = new Size(500, 500); table.RowCount =...
kan's user avatar
  • 367
0 votes
0 answers
32 views

Keep tablelayoputpanel rows height identical as rows are added dynamically

I have a TableLayoutPanel whose rows are set to autoresize. It has two columns, but rows can be added dynamically at run time. How do I add a row, and then have the height of each roenter code herew ...
Ivan's user avatar
  • 7,766

15 30 50 per page
1
2 3 4 5
33