Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Nifty editing tip
Message
De
11/07/2002 12:04:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00677532
Message ID:
00677583
Vues:
27
>Found entirely by misteak while editing some code with MODI COMM:
>
>Mundane: Block/highlight a word or phrase in the VFP editor, then press the tab key: the highlighted text is replaced with a tab, as expected.
>
>Nifty: Block/highlight one or more lines in the VFP editor, then press the tab key: the highlighted text is indented. Bonus: press the Shift-Tab (backtab): the highlighted text is unindented. Faster and easier than right-clicking and choosing indent or unindent from the pop-up menu.
>
>Works in VFP7 and 6; I don't have access to any earlier version to try.
>
>Happy editing!

Another editing feature you may not be aware of:

Type some text in the Command window. Might be several lines.

Select it.

Press ENTER.

VFP will execute this code. (Since it creates a temporary PRG to do this, variables declared in the code may be non-existent later on.)

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform