AlexanderBB
Well-known Member
- Joined
- Jul 1, 2009
- Messages
- 2,058
- Office Version
- 2019
- 2010
- Platform
- Windows
I have an InkEdit control in a Frame on a Userform and need to know it's height in order to position a label underneath it.
I had thought the count of linefeeds would serve but some line are wordwrapped in the control and not by a VBLF Character.
I tried setting a label with autosize On to the same font, width etc as the InkEdit control and the InkEdit height to the labels height. But this leaves too much land between the last row and the end (As shown up by the backcolor). It's also not consistent with differing numbers of rows.
Any help getting this right would be most welcome!
I had thought the count of linefeeds would serve but some line are wordwrapped in the control and not by a VBLF Character.
I tried setting a label with autosize On to the same font, width etc as the InkEdit control and the InkEdit height to the labels height. But this leaves too much land between the last row and the end (As shown up by the backcolor). It's also not consistent with differing numbers of rows.
Any help getting this right would be most welcome!