Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FoxTools.Fll
Message
From
21/04/2003 12:06:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00779823
Message ID:
00779834
Views:
14
>>>You're using this, I assume, with a code or text editting window. Is this correct?
>>
>>Yes. We are still using mostly procedural coding. What I wanted to do was create a program to tell me what function or procedure I'm in with out doing a bunch of pages ups after I did a find. So I get the prg's editor window handle then the position the cursors on. I was then going to find what line # I was on then convert that to a position, which I was hoping would be the begining of the line. Then minus -1 to get the next line then read that line to see if it contained 'FUNC' OR 'PROC' at the begining. and so on and so forth. Then reset the pos back to where the Find found the match. Pop up a messagebox with the function/procedure name.
>
>In VFP7 and later you can use Document View tool to see where you are in the procedure file or switch easilt to another procedure/function.

How does it tell me what procedure I'm in? Currently we are using VFP 6 but moving to VFP 8. All I see is a list of the procedures and functions but I can't tell what one I'm currently in.
Charles

"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform