When the MultiLineLabelControl was the last control in a NewControlBoxDialog, then
regardless of how little text I specify, I couldn’t get the MultiLineLabelControl to take up less than about 120 pixels of space.
Also, being last in the dialog seems to be the trigger for the funky scrollbar if a caption is enabled.
Set MLLabel = SigDlg.AddMultiLineLabelControl
‘ .Caption = “MultiLineLabel:”
.Lines.Text = “Here is some text within the MulitLineLabel Control, which will wrap around when the text reaches the edge of the dialog.”
.Height = 40
.CaptionPosition = afvLeft
.CaptionWidth = iCaptWidth
- You must be logged in to reply to this topic.