AddButton issue

If I add a button to my worksheet with the following:

ActiveGrid.GetActiveWorksheet().Controls.AddButton(1, 1, 100, 25, "Reset", true);

When I double-click on the button, it goes in to editing mode on the cell and the button disappears until I click on a different cell.

Can I prevent this from happening? If I use the style celllocked or protected properties, the click event won't fire.

Hi,

Could you create a sample project and post it here to show the issue, we will check your issue soon.

Thank you.

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman","serif";}

<![endif]–>

Hi,


After further exploration, we have fixed 2 possible issues you mentioned in Aspose.Cells.GridDesktop v2.3.0.2001. Please try the attached version and let us know if it works fine now.


Thank you.

Thanks! This version fixed that issue.