Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CEE to IntelliSense follow-up
Message
From
24/08/2001 10:29:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
CEE to IntelliSense follow-up
Miscellaneous
Thread ID:
00548625
Message ID:
00548625
Views:
24
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
Next
Reply
Map
View

Click here to load this message in the networking platform