bugDotGNU Portable.NET - Bugs: bug #10104, OnControlAdded isn't called when a...

 
 

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

bug #10104: OnControlAdded isn't called when a Control is added by setting its Parent property

Submitter:  None
Submitted:  Sun 22 Aug 2004 09:43:58 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed

Sat 16 Oct 2004 02:36:11 AM UTC, comment #2: 

Fixed in CVS.

Carl-Adam Brengesjo <ptah>
Group Member
Mon 23 Aug 2004 01:16:33 PM UTC, comment #1: 

I do not think this would be a bug.

Adding a control TO the control, yes the OnControlAdded method should be called, however if setting the parent, one isn't adding a control..the parent OTOH having had a control added should throw the event.

Deryk Robosson <drobosson>
Group Member
Sun 22 Aug 2004 09:43:58 PM UTC, original submission:  

The Control.OnControlAdded() method is only called
when a Control is added by Controls.Add().
It is not called when the Control is added by setting its
Parent property.

Anonymous

 

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

Attached Files
file #1663:  ControlAddedTest.cs added by None (621B - text/x-c++src - Adds a Control with Parent = someControl;)

 

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-10-16 ptah StatusNone Fixed
    Open/ClosedOpen Closed
2004-08-22 None Attached File- Added ControlAddedTest.cs, #1593

Back to the top

Powered by Savane 3.12