bugDotGNU Portable.NET - Bugs: bug #11019, OnLoad event is fired in the ctor...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #11019: OnLoad event is fired in the ctor of a control -> strange bug

Submitted by:  Heiko Weiss <brubbel>
Submitted on:  Tue 16 Nov 2004 10:47:19 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue 23 Nov 2004 10:24:42 AM UTC, comment #1:

Fix in CVS on 23rd Nov 2004

I'm not sure whether it is the best way to fix it - but it sure fixes it .

Gopal.V <t3rmin4t0r>
Project Administrator
Tue 16 Nov 2004 10:47:19 AM UTC, original submission:

.
If U call control.CreateGraphics() (for e.g. measure strings or else) in the ctor of a control, the onLoad event is fired, wich must not.
The onLoad event only must be fired, after the ctor is finished and the control is displayed, not before.
See sample.

Heiko Weiss <brubbel>
Project Member

 

Attached Files
file #2017:  FormLoad.zip added by brubbel (28KiB - application/x-zip-compressed - sample)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 23 Nov 2004 10:24:42 AM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Tue 16 Nov 2004 10:47:19 AM UTCbrubbelAttached File-=>Added FormLoad.zip, #1879

Back to the top


Powered by Savane 3.1-cleanup1