Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Short Popup Hot Keys not responding
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00817396
Message ID:
00818606
Views:
23
Thanks Sergey - I tried a bunch key combinations.

The example shows CTRL+T, but I did try with ALT+Z (which is not assigned to anyone, and a bunch of others). This is a shortcut menu, activated by a right click on a listview control, I don't have problems with the BAR popup items having the same HOT KEY, providing they do not duplicate offerings from the other PADs.

Also - this is a VFP 7 project (can't do it in 6 or 8). And -VFP 7 has a bunch of leakage associated with some types of runtime errors - and design time when DEBUG is open). I am not complaining - I hardly ever write code that generates a runtime error (te-he-he :~)

Maybe shortcut popups, not associated with a BAR menu, are not subject to HOT KEY processing.

ALSO - Have you noticed that a VFP 7 checkbox cannot be set to have a plain or flat border?

Also - lable captions, when checkboxes are on the form, seem to bleed. Like Madras - they change "tones" - weird.

>Hi Terry,
>
>Are you sure you don't have the same hot key (CTRL+T) on your main menu?
>
>>A project has both a [main] menu PAD (and associated popups) with hot key bars, and 'stand alone' [shortcut] popups (activated by right clicking a control).
>>
>>The hot keys on the main menu popups fired from the PAD, behave as expected and forward to the processes (just as if it were clicked).
>>
>>The 'stand alone' popus (fired by right clicks on a control), forward to process only when the BAR is clicked, but do not respond to the designated hot key sequence.
>>
>>Here is a snipet from the 'stand alone' popup definition:
>>
>>DEFINE POPUP popSNLV in Window BM MARGIN RELATIVE ;
>>        shortcut TITLE "Shortname" COLOR SCHEME 4
>>DEFINE BAR 5 OF popSNLV PROMPT "\<Toggle" KEY CTRL+T,"";
>>       PICTURE ucImageFolder+"Active.bmp"
>>....
>>ON SELECTION BAR 5 of popSNLV do mnuActiveOnly with oform,oform.ocxSN_LV
>>
>>
>>Clicking the "Toggle" prompt fires, but, CTRL+T don't do nothing.
>>Any assistance, as always, is appreciated.
Imagination is more important than knowledge
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform