A
Alistair George
Hi.
This is very odd see the code below, it runs through it UNTIL the
condition is set, and what happens then is the treeview (tvNodes) is no
longer active, but is visible. Never once is the Visible property set
false. Any takers?
private void tvNodes_KeyDown(object sender,
System.Windows.Forms.KeyEventArgs e)
{
tvNodes.Visible=!(tabControl1.SelectedIndex == 2);
This is very odd see the code below, it runs through it UNTIL the
condition is set, and what happens then is the treeview (tvNodes) is no
longer active, but is visible. Never once is the Visible property set
false. Any takers?
private void tvNodes_KeyDown(object sender,
System.Windows.Forms.KeyEventArgs e)
{
tvNodes.Visible=!(tabControl1.SelectedIndex == 2);