Home Forums WinForms controls Other WinForms controls OutOfMemory on SmartUI.Controls.ToolBar.Tool Reply To: OutOfMemory on SmartUI.Controls.ToolBar.Tool

User (Old forums)
Member
Post count: 23064

First, we do not reproduce this behavior with the latest version of SmartUI for .NET. Setting the Enabled property to false in the designer works fine.

Second, you can use the tool item directly or the Items collection of the SmartToolBar control to get to the Enabled property :

tool1.Enabled = false;

or

smartToolBar1.Items[ 0 ].Enabled = false;

Imported from legacy forums. Posted by André (had 199 views)