- Ricardo Colarina
- PowerBuilder
- Friday, 24 August 2018 03:37 AM UTC
Hi Guys,
I'm testing the new PowerBuilder 2017 R3 at the moment, and at least in my VM running Windows 2012 R2, the performance issues in both the RichTextEdit control and the richtext style column that I have issues with seem to have been fixed. My workaround before the fix was use some Windows APIs to control redraw, and in the datawindow, only show the richtext style column for the current row. I still need to test PB 2017 R3 on our actual production OS Window 8.1 64bit.
Anyway, in a RichTextEdit control, I added a functionality whereby a hyperlink can be added with a different "text to display" and address. And with this, I display a tooltip to show the link address when the mouse pointer is hovering over a hyperlink. The tooltip works by having a datastore with the list of hyperlinks with the text width and the X and Y positions. Everything is working fine, apart from when a hyperlink can only be viewed if the RichTextEdit control is scrolled vertically. Once the richtext is scrolled, the tooltip no longer works. I can't find the event to use, so I thought maybe I use the "other" event. Does anyone know the proper wparam/lparam to use? Or can anyone suggest other solutions? I need determine how many units the RichTextEdit control has been scrolled using the HScrollBar/VScrollBar, Up/Down arrows and the mousewheel.
Thanks.
Best Regards,
Ricardo
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.