Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Logging to Command Window
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01141328
Message ID:
01141365
Views:
29
>>>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform