Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to HIDE menu but keep CTRL-KEYS functioning in memor
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00146939
Message ID:
00148312
Views:
64
Depends on what you're after... If all you need is copy and paste you
don't even need menu keys in VFP 6.0 - that stuff works automatically.

I suppose one could build some sort of OKL object that handles activating
and deactivating hotkeys as needed. I just haven't had the time to look
into it.

+++ Rick ---


>Thanks for the idea! I'll try it.
>Another way I was trying was using the ON KEY LABEL with the sys(1500) to activate the _MED_COPY and _MED_PASTE parts of the _MEDIT menu. Here is the code I used in the main program:
>
>ON KEY LABEL CTRL+C SYS(1500, '_MED_COPY', '_MEDIT')
>ON KEY LABEL CTRL+V SYS(1500, '_MED_PASTE', '_MEDIT')
>ON KEY LABEL CTRL+A SYS(1500, '_MED_SLCTA', '_MEDIT')
>
>The CTRL+V works fine and pastes anything in that is on the clipborad.
>The CTRL+A works also and highlights everything in the textbox.
>But the CTRL+C will not put the highlighted text in the clipboard.
>I even tried the following, but nothing works.
>
>ON KEY LABEL CTRL+C _CLIPTEXT = SYS(1500, '_MED_COPY', '_MEDIT')
>
>Any idea how to get the SYS(1500) copy or cut working?
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform