Can I use the Dialog form (ie. FarPoint.Win.Spread.Design.BorderEditor) in my apps?

Posted by: azatoth on 8 September 2017, 1:11 pm EST

  • Posted 8 September 2017, 1:11 pm EST

    <font face="Verdana" size="2">Hi!

    I must write an excel-clone whit your controls.
    I want use form that you use in the SpreadDesigner app, ie. FarPoint.Win.Spread.Design.BorderEditor form class...
    Can I use this in my code?

    if I write this code:

    Dim be As New FarPoint.Win.Spread.Design.BorderEditor

    when I press the OK button, my app throw a NullReferenceException... I think that this exception is throw because no cell reference is provided to this object...
    </font><font face="Verdana"><font size="2">

    how can i provide the selected cell reference in this form?

  • Replied 8 September 2017, 1:11 pm EST

    <div class="Section1">

    <font face="Courier New" size="2"><span>Add the
    FarPoint.Win.Spread.Design.DLL as a project reference.  I used this code in a

    <font face="Courier New" size="2"><span> 

    <font face="Courier New" size="2"><span>       
    FpSpread1.Sheets(0).SetActiveCell(0, 0)</span></font>

    <font face="Courier New" size="2"><span>        <font color="blue"><span>Dim</span></font> dlg <font color="blue"><span>As</span></font> <font color="blue"><span>New</span></font>

    <font face="Courier New" size="2"><span>       

  • Replied 8 September 2017, 1:11 pm EST

    thanks :D!
Need extra support?

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

Learn More

Forum Channels