• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Blinking display when hiding form

I open  FormB from FormA using FormB.ShowDialog(FormA).
When I hide FormB the display blink and showing the desktop for several miliseconds.
When I use Show() instead of ShowDialog() it works OK.
I got an error trying to set FormB.Parent=FormA, and Setting FormB.Owner=FormA did not help.
How can I solve this?
0
yaron89
Asked:
yaron89
  • 2
2 Solutions
 
käµfm³d 👽Commented:
Perhaps enable DoubleBuffering?
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
Can you show us the actual code where you create the form and display it?

Also, why are you hiding FormB?
0
 
SAMIR BHOGAYTAFreelancer and IT ConsultantCommented:
Hi, You should use the Me.Close() before showing the another form.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
...so what was the issue?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now