Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Intellisense in the Command Window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00708913
Message ID:
00708998
Vues:
9
Bill,
Don't wrap the command in a TEXT...ENDTEXT. Put your keystroke combination in the Abbrev field and add your USE ? to the Data field. The USE ? will fire as part of the script and you can return any text you want after that. Perhaps what alias was opened or you can return "" to clear it from the Command Window.

HTH.

>Hi Nancy,
>
>I think you've got it... I took your script and created a 'Command' Type entry.
>When it expands in the command window, the 'Use ?' command doesn't fire. It is entered along with a carriage return.
>I'd like the 'Use ?' command to fire so the dialog box comes up without me having to hit enter myself.
>
>I'd read the white paper and didn't see this topic addressed.
>
>Any ideas?
>
>>Bill
>>
>>>I'm trying to get Intellisense to fire a command in the command window, but all I can get is a carriage return. I still have to press the enter key after it expands. With CEE I could use ^^ to get a command to fire. Am I missing something?
>>
>>I may be misunderstanding what you mean, and I don't know what your script looks like, but does the following IS script get at the idea?
>>LPARAMETERS oFoxcode
>>
>>oFoxcode.valuetype = "V"
>>
>>TEXT TO myvar TEXTMERGE NOSHOW
>>USE ?
>>
>>ENDTEXT
>>
>>RETURN myvar
>>
>>BTW, in case you haven't seen it, there's a white paper on IS. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen7/html/vfp7_Intellisense.asp
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform