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 file to the product bin folder.
Set the options in the LoadXmlInputMapFile 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) |