Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit rightclick menu for a rtf box
Message
 
 
To
30/08/2006 18:15:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01150009
Message ID:
01150016
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
The RFT controll has its own right-click menu with all but 'SELECT ALL' option and its items are properly enabled/disabled.

>Disregard the previous message - the first kludge works and I'm happy.
>
>The next thing that doesn't: all the options in the shortcut menu are greyed out. Here's the .spr:
>
>
>DEFINE POPUP shortcut SHORTCUT RELATIVE FROM MROW(),MCOL()
>DEFINE BAR _med_undo OF shortcut PROMPT "\<Undo"
>DEFINE BAR _med_sp100 OF shortcut PROMPT "\-"
>DEFINE BAR _med_cut OF shortcut PROMPT "Cu\<t"
>DEFINE BAR _med_copy OF shortcut PROMPT "\<Copy"
>DEFINE BAR _med_paste OF shortcut PROMPT "\<Paste"
>DEFINE BAR _med_clear OF shortcut PROMPT "\<Delete"
>DEFINE BAR _med_sp200 OF shortcut PROMPT "\-"
>DEFINE BAR _med_slcta OF shortcut PROMPT "Se\<lect All"
>
>ACTIVATE POPUP shortcut
>
>It seems to be detecting VFP native controls only. However, there's a hidden menu somewhere which has these same options, and it works using the regular keyboard shortcuts (ctrl+a, c, x, v). Why would this be disabled, while the other still works?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform