Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Turn Intellisense off
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00558941
Message ID:
00558966
Views:
19
Cool. Works perfectly. Thanks.

>The keyboard command is not executed until you hit a wait state. In the code you posted, that is after the last line executes. Any keyboard commands are added to the keyboard buffer, and executed in order at the next wait state. Try adding a DOEVENTS immediately after the keyboard command, that should take care of it...
>
>Jim
>
>
>>I'm trying to turn IS off, with _vfp.editoroptions = "", in the following function (I call it from an OKL). It not working though. Anyone know why?
>>
>>
Function StepOn
>>	Local OldIS
>>	oldis = _vfp.EditorOptions
>>	_vfp.EditorOptions = ""
>>	Keyboard '{ENTER}Set Step On{ENTER}{ENTER}'
>>	_vfp.EditorOptions = oldis
>>Endfunc
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform