I'm trying to implement a Progress Bar. I have added ControlsEx.dll, to my project, added a Progress Bar object (PBar), but my program grinds to a halt at the line where I declare PBar.New1 with this message:
Huh? What index, what collection?
Maybe this should have gone in the "confusing error messages" thread. I admit I've probably gone astray somewhere when adding the library/object, as it never seems to work the same way twice, but the Tools menu does show the Pbar object as present. When adding libraries/objects I invariably come across two or three error messages along the way and have to start again.
Thanks
Caravelle
B4X:
Line number: 94
PBar.New1
Error description: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.
Huh? What index, what collection?
Maybe this should have gone in the "confusing error messages" thread. I admit I've probably gone astray somewhere when adding the library/object, as it never seems to work the same way twice, but the Tools menu does show the Pbar object as present. When adding libraries/objects I invariably come across two or three error messages along the way and have to start again.
Thanks
Caravelle