Form becomes disabled/text invisible

  • Thread starter Thread starter Julie
  • Start date Start date
J

Julie

Hi,
I have a class that inherits from Form. It's pretty simple; it
displays text. I have multiple of these, which get constructed
dynamically.
Unfortunately, if I click on one of these Forms, it becomes disabled,
and the text inside of it is no longer visible (the scroll bar is no
longer visible, etc.). In fact, it causes the rest of the windows to
become disabled as well.

It's as if the application has become too busy to maintain the Form's
visibility.

The application is multi-threaded.

What's going on? Thanks.
Julie
 
Julie skrev:> Hi,



I think the keyword is multi-threaded.

You are probably trying to make visual changes to the form from another
process.

Yes, I just realized that myself! Thank you! I just changed the code
so that it's constructing the Forms on the wrong thread.
 
Julie said:
Hi,
I have a class that inherits from Form. It's pretty simple; it
displays text. I have multiple of these, which get constructed
dynamically.
Unfortunately, if I click on one of these Forms, it becomes disabled,
and the text inside of it is no longer visible (the scroll bar is no
longer visible, etc.). In fact, it causes the rest of the windows to
become disabled as well.

It's as if the application has become too busy to maintain the Form's
visibility.

The application is multi-threaded.

Could you post an example project which demonstrates the problem?

Would be happy to take a look
 
Back
Top