bugDotGNU Portable.NET - Bugs: bug #10396, The TopLevel property of...

 
 

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

bug #10396: The TopLevel property of System.Windows.Form is not correctly implemented

Submitter:  Heiko Weiss <brubbel>
Submitted:  Wed 15 Sep 2004 01:50:43 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Discussion

Tue 05 Oct 2004 03:59:49 PM UTC, comment #3: 

Fixed in CVS on 5th Oct 2004.

Gopal.V <t3rmin4t0r>
Group administrator
Thu 16 Sep 2004 04:06:53 PM UTC, comment #2: 

Thanks for the test case, but, in the future, could you please use a compression scheme other than rar? Rar is poorly supported on free systems; zip compression works fine, however.

Richard Baumann <Rich333>
Group Member
Thu 16 Sep 2004 06:38:52 AM UTC, comment #1: 

I have made a short test application for that case.

Heiko Weiss <brubbel>
Group Member
Wed 15 Sep 2004 01:50:43 PM UTC, original submission:  

If U create a System.Windows.Form the TopLevel property is set to true.
Therefore the toolkitWindow is created with ToolkitManager.Toolkit.CreateTopLevelWindow.
If U now set the property TopLevel to false, only the internal state topLevel is set to false.
But the toolkitWindow should be set as no TopLevel Window.

DG4T needs that to reparent a form into a child container.
Hope U understand what I mean.

So U have to change:
Form.cs:
TopLevel {
 ...
 set {
  topLevel = value;
  and change the toolKitWindow Style to the value (in my case to false)

 }
}

Heiko Weiss <brubbel>
Group Member

 

Attached Files

Attached Files
file #1770:  TopLevel_10396.rar added by brubbel (8.2KiB - application/octet-stream - Source for TestApplication)

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

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.

 

History

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-10-05 t3rmin4t0r StatusNone Fixed
    Open/ClosedOpen Closed
2004-09-16 brubbel Attached File- Added TopLevel_10396.rar, #1674

Back to the top

Powered by Savane 3.16-ed84.
Corresponding source code