StrataFrame Forum
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
ThemedToolStrip
http://forum.strataframe.net/Topic27435.aspx
By Ian Hammond
-
6/15/2010
Is it possible to search from a themedtoolstrip and enable/disable the objects that are placed there, for instance I have a number of buttons and when I click on one I want to disable all the others except 2 which I want to enable. Ican go through them by name but I was wondering if I can loop through them.
By Edhy Rijo
-
6/15/2010
Hi Ian,
Yes you can loop thought the items like this:
For Each Item As ToolStripItem In Me.ThemedToolStrip1.Items
MessageBox.Show(Item.Text)
Next
By Ian Hammond
-
6/15/2010
Hi,
Many thanks, worked a treat!
Regards
By Edhy Rijo
-
6/15/2010
You are welcome Ian!