I am opening this thread to convince Xojo to please, please, provide us users with an updated version of the TextInputCanvas on Github. Unfortunately, you don’t see any need to include the control by default in Xojo, which would be a real help. There are some developers whose controls are based on the TextInputCanvas.
The problem is that the control has some bugs in the repository on Github:
TextInputCanvas.Invalidate(X As Integer, Y As Integer, Width As Integer, Height As Integer [,EraseBackground As Boolean])is not passed to the
TextInputCanvas.Paint-Event because the parameter
areas() As Objectis defined, unlike the
areas() As REALbasic.Rect)
TextInputCanvas.Paintalways fires twice at program start, just like the canvas. feedback://showreport?report_id=62128
These are the two most serious bugs I think. Geoff said in Feedback Case feedback://showreport?report_id=58957:
Given that TextInputCanvas is open source, anyone in the community can update it to API 2.0, there’s no need to wait for us to do it.
But these are things that can only be fixed by Xojo.
So, please dear Xojo team, take a moment to update the control for the users. I assume that Xojo internally uses a “newer” version of the control anyway.