回复 1楼lvxuanyou的帖子
可以在点击下拉框事件中添加以下代码来解决这个问题:
- public Form1()
- {
- InitializeComponent();
- this.fpSpread1.ComboSelChange += fpSpread1_ComboSelChange;
- }
- void fpSpread1_ComboSelChange(object sender, FarPoint.Win.Spread.EditorNotifyEventArgs e)
- {
- this.fpSpread1.ActiveSheet.AddSelection(e.Row, e.Column, 1, 1);
- }
复制代码 |