回复 1楼willinc416的帖子
willinc416 你好,
请参考测试代码:
- private void Form1_Load(object sender, EventArgs e)
- {
- this.fpSpread1.VerticalScrollBarPolicy = FarPoint.Win.Spread.ScrollBarPolicy.Never;
- this.fpSpread2.TopChange += new FarPoint.Win.Spread.TopChangeEventHandler(fpSpread2_TopChange);
- }
- void fpSpread2_TopChange(object sender, FarPoint.Win.Spread.TopChangeEventArgs e)
- {
- this.fpSpread1.SetViewportTopRow(0, e.NewTop);
- }
复制代码 |