Jump to content

Recommended Posts

Posted (edited)

There seems to be a bug with the custom tab control drawing inĀ _WinProc. It randomly erases whatever content is in the tab during the custom drawing. For example, in example script without any modifications, the label with the text Sample Tab gets erased on GUI startup approx. 20% of the time. Also, when switching back and forth from either tab Two or Three back to tab One, the label is also getting erased in that scenario as well approx. 20% of the time.

I haven't been able to figure out the root cause but it seems mostly to be a timing issue.

EDIT: I also tried modifying the code slightly by adding a simple checkbox in the tab and the checkbox randomly gets erased as well. At first I was thinking maybe the issue was related to the label coloring. But it definitely has to be the custom tab drawing causing the contents of the tab to be erased.

Edited by WildByDesign

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...