How to view all code used in a form and its controls.

Hi

  I would like to be able to view all of the associated code used in a form and its controls contained within it. This is how VB shows your code. Now I have to select each object and then the event to see the code for each section. I did this by accident before and cannot seem to figure out how I did it again. Please advise me on how to do this.


Thank You
Rob


Answer this question

How to view all code used in a form and its controls.

  • Deja-vu

    Thanks David that is what I needed!

    Rob

  • chiKai

    Rob,

    Use the class browser to open the form, click the view code button.

    The code is not actually runnable if there is any containership of controls inside something other than the form itself. But it will give you a good look all the code and property settings.

  • mlamure

    Sorry I forgot to say that I am using VFP 9.0

    Thanks
    Rob

  • How to view all code used in a form and its controls.