回复 1楼liyl10的帖子
禁止F2按下,这个代码供参考:
- 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.F12, Keys.None), FarPoint.Win.Spread.SpreadActions.None);
复制代码 |