problem with TreeView and Form.ShowInTaskbar attribute
- From: "Nadav Popplewell" <BacSoftDev@xxxxxxxxxxxxxxxx>
- Date: Sun, 5 Jun 2005 01:07:01 -0700
I've run across something strange:
When the Form.ShowInTaskbar is changed TreeView controls on that form
collapse their selected node.
Is this by design, or is it a bug?
I've seen this with VS2003 or windows XP sp2.
To Reproduce this behavior:
1. Create Windows application.
2. put on the form a tree view & a button.
3. add a root node & some child nodes.
4. put this code is the buttons event handler:
private void button1_Click(object sender, System.EventArgs e) {
this.ShowInTaskbar=!this.ShowInTaskbar;
}
5. now expand the tree nodes and press the button.
the selected node of the tree is collapsed!
Nadav
.
- Follow-Ups:
- RE: problem with TreeView and Form.ShowInTaskbar attribute
- From: "Jeffrey Tan[MSFT]"
- RE: problem with TreeView and Form.ShowInTaskbar attribute
- Prev by Date: DataGrid
- Next by Date: Re: one complex controll or few simple ones?
- Previous by thread: DataGrid
- Next by thread: RE: problem with TreeView and Form.ShowInTaskbar attribute
- Index(es):
Relevant Pages
|