Closed rockygsm closed 5 years ago
Hi. Why do you set .hWnd to selStart? That does not make sense(?)
To make richtext goto last line auto scroll same thing work on official richtext ocx. any other way ?
after few hrs debugging i found this solve issue.. seems control and ocx both version not update focus after sendmsg.
richtext.SelStart = richtext.hWnd
rctxt1.SetFocus
Hello You made great help to all of us. i started to use ocx and control version noticed bug on richtext change event. Normally i used original richtext ocx do this. when textarea is bigger its auto scroll to last line. with change event on richtext
richtext.SelStart = richtext.hWnd
also try thisrichtext.SelStart = richtext.hWndUserControl
both seems not working. i try to debug on controls but seems taking much time so i am reporting to you may be you can find faster then me?
regards,