Hi all, I have a problem with the RichTextBox on my form. The problem is that the zoom factor of the RichTextBox control does not work if I call the "Display()" sub more than ones. Does any one know what would be the problem? Here is the sub I am using to set the text on the control.
VB Code:
Private Sub Display() ' Enable users to select entire word when double clicked. DisplayRTB.AutoWordSelection = True ' Clear contents of control. DisplayRTB.Clear() ' Set the text for the control. DisplayRTB.SelectedText = "Alpha Bravo Charlie Delta Echo Foxtrot" ' Zoom by 4 points. DisplayRTB.ZoomFactor = CSng(4) End Sub


Reply With Quote
