Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Implementing a 'Command Window'
Message
From
11/12/1997 15:52:10
 
 
To
11/12/1997 15:39:06
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00065394
Message ID:
00065399
Views:
33
>I'm trying to use a command window to run my procedures within an aplication.
>Something like the 'command window'. I'm dabbling with an edit box. Any suggestions

You can use an edit box and macro substitution.
Capture the keys in the editbox's keypress and watch for enter (nkeycode = 13). If nkeycode = 13 then
mycommand = this.value
&mycommand
this.value = space(0)

It is important to have an error handler for this, or once your command produces an error, the control will start acting finicky.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform