Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Edit rightclick menu for a rtf box
Message
From
30/08/2006 18:15:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Edit rightclick menu for a rtf box
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01150009
Message ID:
01150009
Views:
73
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?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Next
Reply
Map
View

Click here to load this message in the networking platform