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

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
 
T

The Last Gunslinger

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top