Update or Refresh Form

S

Sam Hobbs

Something as useful and often more useful is to use Shift+F9 on something
and then add it to the watch window.

That can be done for "forms!home" in this example, correct? Then the tree in
the watch window can be used to check on the remainder of the dependents,
right?

It is often (much) easier for me to learn what properties and such can be
used for an object by using the watch window. The documentation is often
inaccurate or at least incomplete but the watch window shows what is real.
 
K

kevin c

sorry... been too busy to deal with this for a few days.
i'm back though.

if you don't mind, could you explain how to use the watch
window again. do i need to have an error to use it. or
can i just have it open and somehow watch what's going
on. i don't really have much experience in using any of
these debugging features. i'd definately like to learn
though. thanks.

Kevin
 
S

Sam Hobbs

You can set a breakpoint using F9 on a line where you want to look at the
contents of something. Then when the breakpoint occurs during execution, put
the mouse on the item you want to look at and press Shift+F9. You will get a
dialog box showing the item and contents. There will also be a button for
adding the item to the watch window. As far as I know, debugging is the same
as for all other versions of VB and up to this point, essentially the same
as for Visual C++.

With the item in the watch window, you can look at all the item's secrets.
Well, they are not actually secrets, they are it's properties, but when you
don't know what the properies are, they are like secrets being exposed.

The watch window is intended to be used to watch stuff while debugging, so
the use I describe is not exactly the way it is designed to be used, but it
certainly is valid to use it this other way too. If you are not familiar
with debugging using single-stepping then that is worth learning about too.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top