Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Intellisense shortcut
Message
From
03/05/2002 15:19:55
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00652489
Message ID:
00652591
Views:
17
This message has been marked as the solution to the initial question of the thread.
Brian,

By changing the type to 'Function', everytime you type "dtt(", it will be replaced with your date expression.

HTH.


Wan


>Hi all,
>
>I'm trying to create an intellisense script to expand "dtt" to {^2002//} so that I can quickly type in date expressions. It works fine if dtt is the first thing I type, but if I try to use it when typing an expression, intellisense doesn't fire.
>
>foxcode info:
>
>
>
>type = U
>abbrev = dtt
>cmd = {}
>
>data:
>
>LPARAMETERS oFoxcode
>LOCAL lcReturnDateStru
>oFoxcode.valuetype = "V"
>
>TEXT TO lcReturnDateStru TEXTMERGE NOSHOW
>{^~2002~//}
>ENDTEXT
>
>RETURN lcReturnDateStru
>
>
>
>Thanks,
>
>- Brian
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform