Good point, I hadn't thought that the scrollbar(s) might be disabled!
Just one point, your usage example is a little confusing! Am I right in thinking that in this case it could be added to my example like this?VB Code:
Dim iCount as Integer Dim strText as String strText = Wrap_Text(txtMyNotes.text, txtMyNotes.Width) tmpSplit = Split(strText, vbCrLf)
oh, and in the (rather useful!) function, frmTeaMark should be replaced with the name of your form.




Reply With Quote