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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a program and position the cursor

Status
Not open for further replies.

foxdev

Programmer
Feb 11, 2000
1,995
US
Many folks know that you can open a form or class and have a specific method opened for initial display, as in:

[tt]modify form MyForm method cmdSave.Click[/tt]
or
[tt]modify class MyClass of MyVCX method init[/tt]

But did you know that you can also pre-position the cursor on a specific line? Simply add a comma and the line number to the end:

[tt]modify form MyForm method cmdSave.Click, 24[/tt]
or
[tt]modify class MyClass of MyVCX method init, 305[/tt]

This technique is very handy for the ubiquitous code/run/debug/fix cycle. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
Robert

Worthy of a FAQ!

Chris [sig][/sig]
 
I thought about it, but its one of those things that you'd probably never think to even ask.

But if I were to add it to the FAQ, should it go in the ever-growing &quot;tips and tricks&quot; group, or should we create a group for &quot;Development Environment Tips&quot; or some such? &quot;Tips and Tricks&quot; seems so generic, and I fear that eventually we'll have dozens of nice FAQs all lumped into that category, making them perhaps difficult to find for someone looking for an answer.

Hey, I've turned into a pretty good hijacker! [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
I think much of the tips n'tricks could re-classified as code snippets and samples. I had no idea you could postion the cursor in such a way!

Got any info on automation with Adobe Exchange? [sig]<p> Pete<br><a href=mailto:blindpete@mail.com>blindpete@mail.com</a><br><a href= > </a><br>What your mother told you is true! You will go blind! (from moonshine anyway)[/sig]
 
Got any info on automation with Adobe Exchange?

I saw the thread, but the only thing I've worked with is Acrobat Distiller. Even then, it was mostly integrating in some routines that someone else had written. But if you need some Distiller automation help, I might be able to assist. [sig]<p>Robert Bradley<br><a href=mailto: > </a><br><a href= - Visual FoxPro Development</a><br> [/sig]
 
But if you need some Distiller automation help, I might be able to assist.

Unfortunately that is where all my experience lies as well.

Thanks Anyhow. BTW I sent Adobe's customer service a message. Perhaps they will point me in the right direction. [sig]<p> Pete<br><a href=mailto:blindpete@mail.com>blindpete@mail.com</a><br><a href= > </a><br>What your mother told you is true! You will go blind! (from moonshine anyway)[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top