Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CEE to IntelliSense follow-up
Message
De
24/08/2001 10:29:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
CEE to IntelliSense follow-up
Divers
Thread ID:
00548625
Message ID:
00548625
Vues:
23
This is a follow-up to the thread #545311. I hope this may be useful to other developers that want to use CEE under VFP7.

Here's a quick summary of what happened. I've successfully converted all my macros from CEE to IntelliSense. The only thing I *really* missed was the alt-f6 macro that added the variable at the cursor position to the LOCAL declaration. Some UT members reported that they are still using CEE6 under VFP7 without problems. However, for some strange reasons, CEE6 caused problems in my case. The problem was that IntelliSense didn't work anymore in the program editor, no matter what I did. After some unsuccessful tweaking of the CEE registry settings, I finally found an easy work around:
*-- startup.prg

*-- load CEE
DO (HOME() + "cee6\cee6.app")

IF lcVersion = "07.00"
    *-- disable CEE macro expansion under VFP7
    _XEUNKEYS()
    *-- point CEE macro to UDF
    ON KEY LABEL SHIFT+F6 DO ceeDeclareLocal
ENDIF
*-- ceeDeclareLocal.prg
_XESETKEYS()                  && enable CEE
KEYBOARD alt-f6 PLAIN CLEAR   && call CEE macro
_XEUNKEYS()                   && disable CEE
Daniel
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform