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

Submitted by:  None
Submitted on:  Sun 22 Aug 2004 09:43:58 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Fixed in CVS.

Carl-Adam Brengesjo <ptah>
Project 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>
Project 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

 

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

 

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
Sat 16 Oct 2004 02:36:11 AM UTCptahStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sun 22 Aug 2004 09:43:58 PM UTCNoneAttached File-=>Added ControlAddedTest.cs, #1593

Back to the top


Powered by Savane 3.1-cleanup1