Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comment/Uncomment Menu Options
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01293366
Message ID:
01293368
Views:
17
>Does anybody know if it's possible to fire the Visual FoxPro Comment and Uncomment menu options directly through code?
>
>I took a quick look in the available menu command names and I don't see that name unfortunately.
>
>I suppose I should have researched this a long time ago but the fact that this action isn't hotkeyed is really annoying especially since the context menu seems to drop off the screen consistently or the selection wants to be moved rather than applying the context against it <g>...
>
>Anyway - anybody know how to automate these options?

Hi Rick,

It can be done through KEYBOARD command
* Comment
KEYBOARD "{ALT+o}m"

* Uncomment
KEYBOARD "{ALT+o}n"
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform