D
Deasun O'Donnachadha
Good evening,
I have a panel with a number of labels and textboxes.
I want to set the text boxes to readonly = false.
This is what I have;
Dim objTxtBox As New TextBox
For Each objTxtBox In pnl_FB_Details.Controls
objTxtBox.ReadOnly = False
Next
I get err msg: cast not valid.
What am I doing wrong ?
Thanks
Deasun
I have a panel with a number of labels and textboxes.
I want to set the text boxes to readonly = false.
This is what I have;
Dim objTxtBox As New TextBox
For Each objTxtBox In pnl_FB_Details.Controls
objTxtBox.ReadOnly = False
Next
I get err msg: cast not valid.
What am I doing wrong ?
Thanks
Deasun