DouglasBell
Active member
- Joined
- Aug 16, 2011
- Messages
- 38
- Programming Experience
- Beginner
Hi All
I have a database application that basically recreates a spreadsheet form for data entry.
I have used a Table Layout Panel so that the cells, using Textbox Controls and the Column / Row headers using label controls can be dynamically created based on what selection criteria is used. It all works fine apart from my label controls, as these are a specific size if the label string from the database is too large then I lose of the heading text.
What I would like to do is have my text go onto multiple lines in the label. Say I make my label width 100 ad that can support a maximum of 20 characters, then I want the text to go onto the second line if the characters are too long.
For example
"The quick brown fox jumped over the fence" would look like this on the label.
The quick brown fox
jumped over the
fence
Hope you can help
Regards
Douglas Bell
I have a database application that basically recreates a spreadsheet form for data entry.
I have used a Table Layout Panel so that the cells, using Textbox Controls and the Column / Row headers using label controls can be dynamically created based on what selection criteria is used. It all works fine apart from my label controls, as these are a specific size if the label string from the database is too large then I lose of the heading text.
What I would like to do is have my text go onto multiple lines in the label. Say I make my label width 100 ad that can support a maximum of 20 characters, then I want the text to go onto the second line if the characters are too long.
For example
"The quick brown fox jumped over the fence" would look like this on the label.
The quick brown fox
jumped over the
fence
Hope you can help
Regards
Douglas Bell