Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveBar not handling Edit functions
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00175277
Message ID:
00175693
Views:
30
>No, it doesn't <s>...
>
>
>HIDE MENU doesn't work. DEACTIVATE MENU does, but it's flaky (menus will pop up if you press ALT or F10 keys, they'll pop up after you activate a modal dialog).
>
>This has been driving me nuts... I finally gave up on using menus for duplicating the ABar menus becuse of this.
>
>THere are several ways to handle Activabar menus right. One I posted on teh ActiveBar newsgroup last week is to use OKL's to handle all the shortcuts. I created an object that wraps all the hotkeys and makes this relatively painless. The object activates/deactivates teh hotkeys in the form's activate/deactivate events.
>
>The other is to do key translations from VFP Form::Keypress. The VFP key codes aren't the same as VB keycodes and this is why you can't simply capture keystrokes and pass them forward. It works, but it still sucks because Form FormKeypress doesnt' capture all keys (Alt-keys in particular).
>
>
>This is supposed get fixed in ActiveBar 2.0...
>
>+++ Rick ---
>
>
>>Hi John,
>>
>>>Yes I can, but unless the VFP system menu, (or another menu with VFP edit bar) is active, the edit functions do not work from the ActiveBar.
>>
>>Have you tried
>>
>> HIDE MENU _MSYSMENU
>>
>>This make the menu invisible, but still lets the user access all of it function via the hotkey...
>>
>>Christof

Hi Rick,

This has been driving me crazy for the last couple of days, however I am learning from it. I saw your posts on the datadynamics newsgroup section but I didn't think the problem I was having was the same as the one you were discussing. Turns out it is...on a more basic level anyway. I still would like to coordinate an Activebar menu with the toolbar. If you have time could you briefly explain how you get your OKLs to enable the activebar edit functionality? I'm playing with some ideas here, but nothing working yet. Also, do you subclass your ActiveBar?


Thanks alot!

John.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform