Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sheridan Active ToolBars Plus 2.0
Message
From
26/06/2001 14:02:39
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
26/06/2001 13:47:05
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00523656
Message ID:
00523706
Views:
31
I've tried ActiveBar but I have some problems with shortcuts.
I'm creating bars (with ActiveBar) programmatically, based on VB samples, but to link the shortcuts I have to do something like this:

* In VB sample
Dim aShortcuts(0) As New Shortcut
aShortcuts(0) = "Ctrl+1"
oleActiveBar.Bands("band").Tools("tool").Shortcuts = aShortcuts

* I've tried this way in VFP...
Local aShortcuts
Dimension aShortcuts(1)
aShortcuts(1) = "Ctrl+1"
oleActiveBar.Bands("band").Tools("tool").Shortcuts = aShortcuts

But when I run the form I receive an error message: "Invalid Subscript Reference".

Do you have any idea?

Emerson Santon Reed
emerson@folhamatic.com.br
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform