ComboboxCelltype does not appear dithered when Visual Style is ON and cell is LOCKED

Posted by: harshbarve on 8 September 2017, 3:06 pm EST

  • Posted 8 September 2017, 3:06 pm EST

    Hi,

    Please find attached a snapshot of Form having 2 spreads. Visual Style is OFF for first spread and ON for the second one. Observe that for a comboboxcelltype if the cell is locked it appears as dithered in spread with visual style OFF and enabled with visual styles ON. The expected behavior is it should appear dithered. Any work around to fix this?

    I am using Spread Version 5.0.3511.2008

     

    Here is the code:

     private void Form1_Load(object sender, EventArgs e)

            {

                this.fpSpread1.ActiveSheet.Cells[0, 0].CellType = new FarPoint.Win.Spread.CellType.ComboBoxCellType();


                this.fpSpread1.ActiveSheet.Cells[0, 0].Locked = true;


                this.fpSpread2.ActiveSheet.Cells[0, 0].CellType = new FarPoint.Win.Spread.CellType.ComboBoxCellType();


                this.fpSpread2.ActiveSheet.Cells[0, 0].Locked = true;


            }

      

     Regards,

    Harshad 



  • Replied 8 September 2017, 3:06 pm EST

    Hello,

    This is the correct behavior wherein when VisualStyles is Off, it will render as dithered and if VisualStyle is On then it will render as enabled but you wont be able to click them as the cells are locked.

    Same behavior is observed with latest builds as well. And this is then intended behavior.

    Screenshots of the Spread with latest build is attached.

    Thanks,

    Reeva



Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels