Spread Windows Forms 8.0 Product Documentation > Developer's Guide > Managing Keyboard Interaction > Using the Excel Compatibility Input Maps |
You can specify whether to use the default Spread input maps or the Excel compatibility input maps. You can also specify the input map mode and the operation mode. Some actions may not apply to certain modes such as starting cell editing with read-only mode.
Use the LoadXmlInputMapFile method to load the Excel compatibility file or other input map file. Spread installs a default Excel compatibility XML file to the input map folder.
Set the options in the method.
This example specifies the Excel compatibility option.
C# |
Copy Code
|
---|---|
fpSpread1.LoadXmlInputMapFile("ExcelCompatibility.imp"); //fpSpread1.LoadXmlInputMapFile("ExcelCompatibility.imp", FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused, FarPoint.Win.Spread.OperationMode.Normal); |
VB |
Copy Code
|
---|---|
FpSpread1.LoadXmlInputMapFile("ExcelCompatibility.imp") 'FpSpread1.LoadXmlInputMapFile("ExcelCompatibility.imp", FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused, FarPoint.Win.Spread.OperationMode.Normal) |