Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cool Tip
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Cool Tip
Miscellaneous
Thread ID:
00550481
Message ID:
00550481
Views:
43
In a multi-developer environment, we need a way to have bookmarks
inserted into code BY USER.

Soooo..

I recorded a macro, assigned to F7, which is used in a code window:


1. Press ENTER, then Up Arrow - This inserts a blank line

2. Ctrl+F2 - Bring up command window

3. _cliptext = "** BOOKMARK KM " + DTOC(DATE()) + " " + TIME()

4. Ctrl+F1 - Set focus back to code window

5. Press Ctrl+V - Paste in bookmark




Next, I created another marco, assigned to Shift+F7, again used with
a code window open:


1. Press Ctrl+F - Brings up Search window

2. Type in "BOOKMARK KM" - To find ONLY my bookmarks

3. Press Alt+A to enable 'All Objects' option button on search dialog

4. Press Alt+N to search for first occurance

5. Press ESCape to close the search window.



Don't forget to SAVE MACROS TO (HOME() + "Default") to save them
to your default marcos.

Pressing Ctrl+G will search again for the next bookmark.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform