Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Logging to Command Window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01141328
Message ID:
01141365
Vues:
17
>>>This code works for me. Made a comment in Command window go to next line and shows MessageBox().
>>
>>Right, but as I said before, it's not persistent. Put the cursor on the line after the comment and hit "Enter", and it goes away.
>
>I don't know why, but this works :-))
>Maybe becuase it executes comments as command and that way it is saved in _command.prg?
    KEYBOARD "* " + tcCommand
    KEYBOARD '{SHIFT+UPARROW}' +'{ENTER}'
    DoSleep(.05)
Bingo. That forces the "Execute Selection" functionality and bypasses whatever keeps the Command Window from executing commands while a program is running. Thanks, Borislav!
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform