ComponentOne Chart 8.0 for ActiveX
Programming Action Mappings

 

Programming Action Mappings

To program an action mapping, use the Add method to add the new action mapping to the collection.

For example, the following tells 3D Chart to undo all scaling and translations when the left mouse button is double-clicked:

Dim NewLeft As Object

...

With Chart3D1.ActionMaps

       Set NewLeft = .Add WM_LBUTTONDBLCLK, 0, 0, oc3dActionReset

End With

All 3D Chart actions are customizable: you can determine which Microsoft Windows message will call a particular action, and decide on the appropriate steps to perform in each case.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback