D
darren
I am using code to build a Checklist in a Panel and I would like a way
to wrap the text of the checkbox if it is wider than the panel.
Since I am building the checklist dynamically I can use a Label for the
text, which will wrap the text. But I would still need to figure out
the correct height based on the font.
Would someone point me to where I can either:
1. Wrap the CheckBox text
or 2. Figure out the height needed for a Label control which contains a
long text and has a fixed width.
Thanks!
Darren
to wrap the text of the checkbox if it is wider than the panel.
Since I am building the checklist dynamically I can use a Label for the
text, which will wrap the text. But I would still need to figure out
the correct height based on the font.
Would someone point me to where I can either:
1. Wrap the CheckBox text
or 2. Figure out the height needed for a Label control which contains a
long text and has a fixed width.
Thanks!
Darren