Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recording developer comments in forms

Status
Not open for further replies.

mikemck7

Technical User
Dec 17, 2003
38
[COLOR=purple yellow]Forgive me for posting this twice. I'm told I posted the following in the wrong forum. Sorry!:[/color]

I like to record general comments and reminders as I work on forms while building an application. For this purpose, I've added a method called DevNotes to the property sheet of all my form base classes. I use TEXT...ENDTEXT to isolate the comments.

I also use a custom utility toolbar that is activated by a startup program every time VFP is launched. I'm now thinking of adding a new button to my toolbar that always opens the DevNotes method window of the current form, so I don't have to scroll to the bottom of the property sheet each time I want to make a note.

What's most important to me is keeping the notes with the form. I would really appreciate some suggestions on how to accomplish this. I'm using VFP8. Thanks.
 
Mike,

I wrote a detailed reply to this question, but it got deleted along with your original post, which is annoying. Not your fault, of course.

I won't try to write my reply again, except to say that you can open your DevNotes method window programmatically as follows:

DO FORM MyForm METHOD DevNotes

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Thanks Mike,

Luckly, I read your response prior to it being deleted. I know you meant to say "MODIFY FORM ..." rather than "DO FORM ..." as above because you had it right in your original response.

I was not aware of the METHOD MethodName argument. That's pretty neat and I've started using it. I habitually close method windows immediately as I'm done editing so all I have to do now is remember to leave DevNotes open until I'm ready to save my form. Thanks.

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top