Skip to Content
avatar image
Former Member

Change Checkbox state

Hi!

I need to change de property Checked of a checkbox to True

but the change doesn't occur!

The checkbox is inside of a matrix and also a standart object. This is my code!

Dim oForm As SAPbouiCOM.Form

Set oForm = SBO_Application.Forms(pVal.FormUID)

Dim oMatrix As SAPbouiCOM.Matrix

Set oMatrix = oForm.Items("3").Specific

Dim oCheckBox As SAPbouiCOM.CheckBox

Set oCheckBox = oMatrix.Columns("2").Cells(2).Specific

oCheckBox.Checked = True

Do you know why?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jun 29, 2004 at 11:26 AM

    Hi!

    I try your problem in a from loaded from xml and my problem was that the checkbox isn't linked to a datasource.

    I think that it's your problem.

    Add comment
    10|10000 characters needed characters exceeded