Problem with combo box in spreadsheet (spread for win 3.0)

Posted by: mkotas on 8 September 2017, 12:39 pm EST

  • Posted 8 September 2017, 12:39 pm EST

    Hi,

    i have a problem with the new spread's version. I have code which works with the last one 2.5.2011.2005. But in v3.0.5600.2205 it crash every time, when the user select some item in combo box.

     <pre class="coloredcode"><span class="kwd">Public Class</span> Form1

    <span class="kwd">Private Sub</span> Form1_Load(<span class="kwd">ByVal</span> sender <span class="kwd">As</span> System.<span class="kwd">Object</span>, <span class="kwd">ByVal</span> e <span class="kwd">As</span> System.EventArgs) <span class="kwd">Handles MyBase</span>.Load
    <span class="kwd">Dim</span> type <span class="kwd">As New</span> FarPoint.Win.Spread.CellType.ComboBoxCellType
    type.Items() = <span class="kwd">New String</span>() {<span class="st">"1"</span>, <span class="st">"2"</span>, <span class="st">"2"</span>, <span class="st">"3"</span>}
    spread.Sheets(0).Cells(0, 0).CellType = type
    <span class="kwd">End Sub


    Private Sub</span> sprSheet_ComboDropDown(<span class="kwd">ByVal</span> sender <span class="kwd">As Object</span>, <span class="kwd">ByVal</span> e <span class="kwd">As</span> FarPoint.Win.Spread.EditorNotifyEventArgs) <span class="kwd">Handles</span> spread.ComboCloseUp
    spread.EditMode = <span class="kwd">False
    End Sub

    End Class</span></pre>
    Thanks

    Michal Kotas
    IDC-CEMA
    Prague, Cze

  • Replied 8 September 2017, 12:40 pm EST

    Michal,


    This is a known bug (#20605) that will be fixed in the next maintenance release.

  • Replied 8 September 2017, 12:40 pm EST

    Hi Scott,

    This is key feauture for us, so I would like to ask when the maintance release will be released (approximately). Because we have to use 3.0 version for its new features (adding control to a control layer for example)...

    Thanks

    Michal
  • Replied 8 September 2017, 12:40 pm EST

    Michal,


    For the .NET products, we are working on a quaterly system for maintenance releases, so the maintenance release should be available in September.

Need extra support?

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

Learn More

Forum Channels