-
hey,
i've never done this before. On the coding screen, i just noticed that it wasn't docked with the component toolbar. Then when I clicked in the space between the code area and the toolbar, a red circle appeared and the corresponding line of code became higlighted with a red background.
What's that for?
-
Hi,
That's what is know as Breakpoints. You can set as many of these 'red dots' as you like and then when you run your program, every time the code comes to the line(s) you have highlighted with the 'red dot', your program will pause running and you will be taken to the code. From there you can step through your code one line at a time (using F8) and see what is happening as your code executes.
It is a very useful feature! ;)
Hope this helps
Shaun
-
wow!
what'll they think of next?
Up to now, i've always used print statements and msgBoxes to do that (which I have to go thru and delete later on)
Thanks.
-
When you do subclassing you'll have to revert back to doing that :(
VB creates a new keyword especially for subclassing, but then renders all of the error handling useless by just letting it crash. :rolleyes: Typical.