All Questions
Tagged with tablelayoutpanel dynamic
12 questions
1
vote
1
answer
350
views
Dynamically added rows to a TableLayoutPanel are displayed on a different row position
I am trying to dynamically add a TextBox to a TableLayoutPanel with the click of a Button. A Row is selected by click the mouse.
Following a Row selection, a button click inserts a TextBox on the ...
0
votes
1
answer
955
views
Event Handlers for Dynamic Table Layout Panel in Visual Basic
I am making a risk-type game for school that dynamically creates a 4x4 grid of buttons inside a table layout panel in visual basic. I have successfully created the panel and buttons with names that ...
0
votes
1
answer
634
views
Adding multiple buttons to tablelayoutpanel.flowlayoutpanel based on data retrieved from database
I have a tablelayoutpanel with a flowlayoutpanel in each cell so that I can add multiple buttons to these cells. I now want to place a button in the cell based on data retrieved from a database.
E.g.
...
2
votes
1
answer
188
views
Enhance UI Responsiveness in c#
I have created an POS application using Dynamic buttons, dynamic table layouts, and other controls in one form. The generated dynamic buttons is based on the number of data queried from the database(...
2
votes
1
answer
15k
views
TableLayoutPanel rows & columns at runtime
im trying to build a usercontrol which contains a tablelayoutpanel. in this panel i need to dynamically add 3 columns with each having different a width and 5 rows which all shell have the same height ...
7
votes
2
answers
13k
views
Is SuspendLayout/ResumeLayout worthless or am I going about it wrong?
I have two tab pages hosting TableLayoutPanels that I dynamically populate with labels and textboxes. The first one gets 96 labels and 96 textboxes, and its flicker is acceptable/tolerable, so I didn'...
0
votes
2
answers
1k
views
Why doesn't my TableLayoutPanel use all of its size when divided by percentages?
I am dynamically adding controls to a TableLayoutPanel.
It has 12 rows and 32 columns.
I've divided the widths of the columns so that those with labels are twice as wide
as those with TextBoxes, ...
4
votes
1
answer
249
views
Why does 12 X 8.33 seem to equate to about 105?
In my TableLayoutPanel, I'm dynamically adding twelve rows (and several columns). When I had the TableLayoutPanel's Rows collection set to Autosize, the 12th row would be generated, but would not ...
4
votes
1
answer
3k
views
How can I programmatically set the Column and Row properties of controls that are dynamically created to embed within a TableLayoutPanel?
When I drop a control, such as a Label or a TextBox, on a TableLayoutPanel, it has (among many others, of course) the following properties:
Cell.Column
Cell.Row
Column
Row
...but these controls don't ...
0
votes
2
answers
858
views
Why is my TextBox.Width value not accepting the value I'm trying to assign it?
I am trying to evenly space dynamically created controls by giving them a width and height that is a fraction of the width and height of the container control.
However, although my functions ...
0
votes
1
answer
2k
views
Why don't controls placed in TableLayoutPanels "snap to" their "cells"?
I am dynamically creating a TableLayoutPanel, and then dynamically creating Labels and TextBoxes to put inside it.
It would seem logical that I could just assign the number of columns and rows to the ...
0
votes
1
answer
554
views
tips for dynamic UI creation
I need to create a UI that will load from an xml file information that will determine the look of the UI. Simply put, the xml file will determine the locations of a bunch of buttons in a grid like ...