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:
00175691
Views:
52
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
+++ 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