Copying a panel
I'm makin a game like wordle clones for games i have a panel i want to copy it if value is wrong then put it into bellow the main panel and contiune to doing it until value is right
3 Replies
This strikes me as an obvious XY problem
And that is that you have a problem, X, and you've thought of a solution Y. So you are asking for help with Y.
But your actual problem is still X, and Y is actually not a very good solution to X
in the case of making a wordle UI, I would not recommend actually copying panels, rather just have all the panels from the start and populate their data accordingly
but my game isnt exaclty a wordle copy there is no limit i can send a example site if you want i want to make unlimited copys everytime wrong answer entered
still, you shouldnt be copying anything
you could make a custom control that represents one "row", then have a stacking layout and just add your rows to that