L
Lou
I have a panel control with buttons and labels
I want to loop through only the buttons so I do this
Dim btn As Button
For Each btn In FlowPanelBottom.Controls
Next
I get an error that the control is a label control. Why is that when I am
only looping through button types?
Unable to cast object of type 'System.Windows.Forms.Label' to type
-Louie
I want to loop through only the buttons so I do this
Dim btn As Button
For Each btn In FlowPanelBottom.Controls
Next
I get an error that the control is a label control. Why is that when I am
only looping through button types?
Unable to cast object of type 'System.Windows.Forms.Label' to type
-Louie