drohacek
2004-06-22 22:38:01 UTC
In VS.NET 2003, if you drop a Tab control, use the collection editor to add a tab page, close the collection editor, drop a Button control, and then hit F1, the help for the TabPage.Text property comes up. I would expect the help for Button to come up.
Looking at the Active Context debug information in the dynamic help window, it looks to me like the items from the collection editor are given higher priority (resolve to 600) than other items in the Windows Forms designer (resolve to 500). So, when the collection editor is dismissed, the topics it provided to the dynamic help window have higher priorities than new topics.
Why do I care? We implement controls that make fairly heavy use of collection editors. Our editors derive from System.ComponentModel.Design.CollectionEditor, so our controls display this behavior. This behavior can be annoying because the help context does not clear, so once you've added an item to a collection, F1 help in the designer seems broken.
Is this a bug somewhere in the implementation of the Windows Forms designer or CollectionEditor? Is there a way we can/should work around it?
Looking at the Active Context debug information in the dynamic help window, it looks to me like the items from the collection editor are given higher priority (resolve to 600) than other items in the Windows Forms designer (resolve to 500). So, when the collection editor is dismissed, the topics it provided to the dynamic help window have higher priorities than new topics.
Why do I care? We implement controls that make fairly heavy use of collection editors. Our editors derive from System.ComponentModel.Design.CollectionEditor, so our controls display this behavior. This behavior can be annoying because the help context does not clear, so once you've added an item to a collection, F1 help in the designer seems broken.
Is this a bug somewhere in the implementation of the Windows Forms designer or CollectionEditor? Is there a way we can/should work around it?