Is there a way of making the width of a one line richtextbox grow to suit the width of the characters as they are added. This would have to take care of different size fonts and proportional spacing.
I can do it when adding text thru .seltext by also printing to a dummy form and measuring the text width but this does not work if I fill the richtextbox with .textrtf from a database unless I fill the box, then take the .text out of it, measure it and set the width from that.
I need this for a jumbo scroll across the bottom of a screen.
Incidentally I found that richtextboxes don't jitter when you put them in a frame and scroll the frame with the ccrpTmr6.ocx.
I can do it when adding text thru .seltext by also printing to a dummy form and measuring the text width but this does not work if I fill the richtextbox with .textrtf from a database unless I fill the box, then take the .text out of it, measure it and set the width from that.
I need this for a jumbo scroll across the bottom of a screen.
Incidentally I found that richtextboxes don't jitter when you put them in a frame and scroll the frame with the ccrpTmr6.ocx.