在我点击shape时,按下delete键shape删除,但是现在我想防止其误删除,想把delete功能屏蔽掉
-
- FarPoint.Win.Spread.InputMap im = new FarPoint.Win.Spread.InputMap();
- im = fp_NodeTemple.GetInputMap(FarPoint.Win.Spread.InputMapMode.WhenAncestorOfFocused);
- im.Put(new FarPoint.Win.Spread.Keystroke(Keys.Delete, Keys.None), FarPoint.Win.Spread.SpreadActions.None);
复制代码
但是发现无法屏蔽,还有其他方法吗?求教 |
|