I am using Visual Basic 6.0.
I have a TextBox control whose "Caption" I wish to access. When I
look at the TextBox's structure via the "watch" window, its structure
appears to look like the following:
myTextBox.Contr ols.Item 1.Caption
How do I code the "Item 1" structure since it has a [space] between
the "Item" and the "1"?
The following (and numerous variations on this theme) causes an error:
MsgBox "Empty Tag in " & myTextBox.Contr ols.[Item 1].Caption & "!"
tia,
- bettyann
I have a TextBox control whose "Caption" I wish to access. When I
look at the TextBox's structure via the "watch" window, its structure
appears to look like the following:
myTextBox.Contr ols.Item 1.Caption
How do I code the "Item 1" structure since it has a [space] between
the "Item" and the "1"?
The following (and numerous variations on this theme) causes an error:
MsgBox "Empty Tag in " & myTextBox.Contr ols.[Item 1].Caption & "!"
tia,
- bettyann
Comment