Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ON KEY LABEL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00155868
Message ID:
00156219
Vues:
38
>>>Is it possible to set up an ON KEY LABEL to return a string to the current editbox?
>>>
>>>I want to do something like
>>>On Key label Ctrl+Alt+F1 "This is a beautiful day!"
>>>and as I'm typing along in my editbox have Ctrl+Alt+F1 insert
>>>"This is a beautiful day!"
>>>at the current cursor location. But when I try to assign this I get a syntax error.
>>>
>>>I also tried
>>>On Key label Ctrl+Alt+F1 This.Value = This.Value + "This is a beautiful day!"
>>>and
>>>On Key label Ctrl+Alt+F1 ? "This is a beautiful day!"
>>>but these also gives a syntax error.
>>
>>You are missing something:On Key label Ctrl+Alt+F1 KEYBOARD "This is a beautiful day!"
>--------------------------
>I tried this and got a syntax error....
>
>but I figured it out... it's the ALT part of that line... If I do
>On Key label Ctrl+F1 "This is a beautiful day!"
>it works!
>
>
>I hate undocumented features....this time :-)
>
>Thanks,
>Rick

Don´t assume *all* the guilt; I should have checked the VFP help, where it states clearly the valid key combinations... and (yeah, you guessed it) CTRL+ALT+F1 isn´t one of them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform