User form behavior

Jeff H
4StarLounger
Posts: 418
Joined: 31 Oct 2017, 20:07

User form behavior

Post by Jeff H »

Sometimes, when I open a user-defined form, the outline of the form appears, but the box is transparent, as in the attached png. If I right-click it to display the context menu, then the content becomes visible. I experience this more often with Msgbox, so in this case I replaced the Msgbox I was using with this user-defined form, but the problem continues.

I’m wondering if there is a way to add something to the code to ensure it always displays properly. The code I’m using is:

Code: Select all

blnContinue = False
Load frmEnterResult
frmEnterResult.Show
If blnContinue = False Then Exit Sub
- Jeff


Picture1.png
You do not have the required permissions to view the files attached to this post.

User avatar
HansV
Administrator
Posts: 79443
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: User form behavior

Post by HansV »

I see that sometimes with message boxes - I guess it is a bug, and I don't know of a way to correct it except right-clicking, or activating another window then activating the outline window again.
Best wishes,
Hans

Jeff H
4StarLounger
Posts: 418
Joined: 31 Oct 2017, 20:07

Re: User form behavior

Post by Jeff H »

Ah. I thought that might be it. Thanks for confirming it. It's just a minor annoyance, and fortunately, intermittent.

- Jeff