Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Intellisense shortcut
Message
From
04/05/2002 09:39:18
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00652489
Message ID:
00652741
Views:
19
Nice. Works like a charm. Thank you Cheang.


- Brian

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


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Previous
Reply
Map
View

Click here to load this message in the networking platform