My app works fine in debug, and no errors during compile.
But when I try to run the app I get an error message saying
"Cannot convert an object of the type DBasic.EnhancedControls.CEnhancedLabel to DBasic.IText".
I get this error from this line:
Control ("Name" & EnemyIndex).Text = Control ("Name" & EnemyIndex).Text +1
EnemyIndex is a variable with the value 5.
If I use
Name5.Text = Name5.Text +1
it works perfect, and I don't see any difference.
Please help