Posted 8 September 2017, 3:20 pm ESTHi,
I face a strange problem quite easy to reproduce:
The following program creates two forms. One contains a spread with the AllowColumnMove property set to true. In the CellDoubleClick event of this spread, a call to BringToFront is done on the second form.
If this form hides the first one, then when one activate the first one again, the spread is in a "column moving" state.
fpSpread1.AllowColumnMove = true;
this.fpSpread1_Sheet1.Columns.Get(0).Locked = true;
this.fpSpread1_Sheet1.Columns.Get(1).Locked = true;
fpSpread1.CellDoubleClick += new FarPoint.Win.Spread.CellClickEventHandler(this.fpSpread1_CellDoubleClick);
_form2 = new Form2();
private void fpSpread1_CellDoubleClick(object sender, FarPoint.Win.Spread.CellClickEventArgs e)
One more thing: the call to BringToFront does not work even if the correspondin column is locked except if the double click is made in the column header.
Thanks for your help.