Hello,
since version 15.1.7.0 there seems to be a problem with the pictureedit scrollbars.
If you have a form with a pictureedit (dock=fill) and properties showscrollbars=true, the don't align to the control borders on resizing the form (=control).
I've attached a screenshot an marked the problem in red :-)
Is there a solution to solve the problem?
Thanks!
Dirk Kaiser
Hello Dirk,
Thanks for the provided screenshot. I was able to reproduce the issue on my side and passed it to our developers for further research. We will update this thread once we have any results.
As a workaround, handle PictureEdit's Resize event and call the UpdateScrollBars method:
private void pictureEdit1_Resize(object sender, EventArgs e) { this.pictureEdit1.UpdateScrollBars(); }
Private Sub pictureEdit1_Resize(ByVal sender As Object, ByVal e As EventArgs) Handles pictureEdit1.Resize Me.pictureEdit1.UpdateScrollBars() End Sub
Attached is a small sample that illustrates this approach.
This hotfix works.
Thank you!
I'm looking forward for the next official update :-)
Dirk Kaiser
Hello Dirk,
I am happy to hear that the suggested workaround works for you. Please watch for our updates.