A
Alfredo Barrientos
Hi,
I have a little trouble trying to assign a Toolbar control to another
toolbar variable control.
I am getting my forms controls with this:
for (int j = 0; j <= frmChild.Controls.Count - 1; j++)
{
// Some operations
if (ctrl.GetType().ToString() ==
"System.Windows.Forms.ToolBar")
{
MessageBox.Show("paso");
System.Windows.Forms.ToolBar toolBarX = ctrl;
}
}
I just want to access to the "buttons" property of my toolbar control,
in order to enabled or disabled toolbar buttons getting their tag
names.
Is it possible?
Thanks,
Alfredo Barrientos
I have a little trouble trying to assign a Toolbar control to another
toolbar variable control.
I am getting my forms controls with this:
for (int j = 0; j <= frmChild.Controls.Count - 1; j++)
{
// Some operations
if (ctrl.GetType().ToString() ==
"System.Windows.Forms.ToolBar")
{
MessageBox.Show("paso");
System.Windows.Forms.ToolBar toolBarX = ctrl;
}
}
I just want to access to the "buttons" property of my toolbar control,
in order to enabled or disabled toolbar buttons getting their tag
names.
Is it possible?
Thanks,
Alfredo Barrientos