Click here to Skip to main content
15,886,639 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello guys,
I'm programming with visual studio 2019. And I have a problem, I have a table layout of 1 row and 10 collumn in each collumn I have a picturebox inside it. And I want to use this tablelayout to change each of my picturebox image with only an indice and not by using the name of each picturebox. Do you think it is possible ?

What I have tried:

I have tried to use GetControlFromPosition but it doesn't work
Posted
Updated 18-Oct-22 23:08pm
v2
Comments
Richard MacCutchan 19-Oct-22 5:26am    
Windows Forms, Web Forms, WPF, UWP ... which product and what code are you using?
Member 15802708 20-Oct-22 6:40am    
I am using a windows forms application
Richard MacCutchan 20-Oct-22 7:08am    
Well I am sorry but we still cannot guess what your problem is, or even what your code is supposed to be doing.
Dave Kreskowiak 19-Oct-22 9:21am    
Are you trying to create a board for a game using a TableLayoutPanel?
Member 15802708 20-Oct-22 6:39am    
No why would I ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900