Label.AutoSize = true : Application.Idle --> Bug?

  • Thread starter Thread starter Weber Samuel
  • Start date Start date
W

Weber Samuel

Hi NG

i try to catch the Application.Idle Event:
--> Application.Idle += new EventHandler(OnIdle);

Here's my problem:

If i put a Label on my Form and set the Property AutoSize = true then
the Eventhandler OnIdle never occurs! If the Property AutoSize is set
to false the OnIdle - Handler will be called...

Is this a Bug? Does a Workaround exists?

Thanks Samuel
 
Weber said:
Hi NG

i try to catch the Application.Idle Event:
--> Application.Idle += new EventHandler(OnIdle);

Here's my problem:

If i put a Label on my Form and set the Property AutoSize = true then
the Eventhandler OnIdle never occurs! If the Property AutoSize is set
to false the OnIdle - Handler will be called...

Is this a Bug? Does a Workaround exists?

Thanks Samuel

I tried it here and it works fine with just an autosize label placed on
the form.
Try it with a new blank solution and see if you can replicate it.

Cheers
JB
 
Back
Top