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

Submitted by:  Heiko Weiss <brubbel>
Submitted on:  Wed 15 Sep 2004 01:50:43 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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

Fixed in CVS on 5th Oct 2004.

Gopal.V <t3rmin4t0r>
Project 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>
Project 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>
Project 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>
Project Member

 

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

 

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 05 Oct 2004 03:59:49 PM UTCt3rmin4t0rStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Thu 16 Sep 2004 06:38:52 AM UTCbrubbelAttached File-=>Added TopLevel_10396.rar, #1674

Back to the top


Powered by Savane 3.1-cleanup1