>Hi All
>
>I would like to be able to add code in the command window like VFP does when I open a class from the project. I have looked at Foxtools and so far have had limited success making this work.
>
>_WFindTitl("Command") returns the wrong window handle.
>_WONTOP() works when I run the program from the command window.
>_WPutStr(bb,"This is a test") works but the line won't stay.
>
>Any help would be appreciated.
>
>Thanks.
For example:
keyboard "{Ctrl+F2}modify command abc{ENTER}
Assuming the shortcut key Ctrl+F2 for the Command Window is active (it might not be active if you redefined the menu).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)