Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cool Tip
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Cool Tip
Divers
Thread ID:
00550481
Message ID:
00550481
Vues:
42
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform