When I create a pagecontrol (design view or runtime) and I add an tabsheet to this control, then the surface of this tabsheet overlaps with the tabs because its position is incorrect.
However when inspect the Top-property of the tabsheet then the function returns 0. So it should be located at its normal position which is just below the tabs.
The strange thing is that this problem is only present when I use Windows. When I switch to Linux or Mac the tabsheets behave correct.
I found a work around by setting the Top-value of this tabsheet to a arbitrary number and then setting it back to zero, but this only works the first time. If I remove all the tabs from the pagecontrol and add new ones to it, then the same problem arises, but the workaround doesn't work anymore.
Does somebody experience this same problem and knows how to solve it?