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

Submitter:  Heiko Weiss <brubbel>
Submitted:  Tue 16 Nov 2004 10:47:19 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned 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>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-11-23 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-11-16 brubbel Attached File- Added FormLoad.zip, #1879

Back to the top

Powered by Savane 3.13-caa5.
Corresponding source code