checkbox enabled in fpSpread in WindowsForms

Posted by: luis-cifuentes on 8 September 2017, 3:18 pm EST

  • Posted 8 September 2017, 3:18 pm EST

    and activate checkbox in fpSpread in WindowsForms
    example
    checkbox.values = 1 then if
    msgbox ("do this")
    else
    nothing
    end if

    but in FpSpread

    attached image

    -----spanish

    como activar checkbox en fpSpread en windowsForms
    ejemplo
    if checkbox.values=1 then
    msgbox("haga esto")
    else
    nada
    end if

    pero en la FpSpread


    Private Sub FpSpread1_ButtonClicked(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EditorNotifyEventArgs) Handles FpSpread1.ButtonClicked
    Try
    Dim i As Integer
    For i = 0 To FpSpread1.ActiveSheet.RowCount - 1
    If FpSpread1.ActiveSheet.Cells(i, e.Column).Value = True Then
    MsgBox("Hola")
    Else
    MsgBox("Chao")

    End If
    Next
    Catch ex As Exception
    Throw
    End Try
    End Sub


    adjunto imagen


  • Replied 8 September 2017, 3:18 pm EST

    ahora si quite el for y ok

    Private Sub FpSpread1_ButtonClicked(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.EditorNotifyEventArgs) Handles FpSpread1.ButtonClicked
    Try
    Dim i As Integer

    If FpSpread1.ActiveSheet.Cells(e.row, e.Column).Value = True Then
    MsgBox(“Hola”)
    Else
    MsgBox(“Chao”)

    End If

    Catch ex As Exception
    Throw
    End Try
    End Sub
  • Replied 8 September 2017, 3:18 pm EST

    Hello,

    Although we don't understand Spanish, but it seems that your issue has been resolved.

    Hence, we are closing this case from our end. You can anytime revert back on same thread if in case it's not resolved.

    Thanks,
    Reeva
Need extra support?

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

Learn More

Forum Channels