Hi all
I'm working on a project that needs to give the user ability to draw a table like MS Word and then add controls to its cells..
Any idea on how to start it?
Printable View
Hi all
I'm working on a project that needs to give the user ability to draw a table like MS Word and then add controls to its cells..
Any idea on how to start it?
You are probably going to end up using a grid control like the datagridview. Whenever you give the user the ability to create controls, it can get a bit tricky. I would focus on giving the user the ability to create a control via the menu, giving them an option for width and height. Once you get that working, you could then work on giving the user the ability to drag out a control.
Thank you for offering help
well, it's like creating custom report
I want to give the ability to resize controls at run time. that is easy
but also to merge cells and columns. and here is the problem
I tried to use the table layout.. but there is no good controlling to resize it's cells at runtime and i think also the grid control doesn't give that option..
I think i'll try to put controls in a picturebox or panel and use anchor property..it's requires lots of code to control the operation but i guess there is no easy way to do it..