Bug? In error checking in Debug mode.

klaus

Expert
Licensed User
Longtime User
Hi Erel,
A user reported an error raised in the IDE.
Only in debug mode with a break point and going step by step through the code.
Otherwise it works OK.

To me it looks like a bug in the error checking.

To reproduce it you should use the source code of SecondProgram from the Beginner's Guide (attached below).
In the routine Sub btnEvent_Click in the image below it raises an error Object should first be initialized (Button) when reaching the line Select btnSender.Tag. Even initializing btnSender.Initilize("") before Select btnSender.Tag raises the same error.

Best regards.
 

Attachments

  • SecondProgram.zip
    8.3 KB · Views: 218
  • ButtonNotInitialized.jpg
    70.8 KB · Views: 214
Cookies are required to use this site. You must accept them to continue using the site. Learn more…