Skip to Content
0
Former Member
Sep 23, 2008 at 04:57 AM

Matrix problem

64 Views

I wrote a simple Matrix with only 1 row for testing,

here is the code:

oColumn = oColumns.Add("CardCode", SAPbouiCOM.BoFormItemTypes.it_EDIT)

oColumn.TitleObject.Caption = "Vendor"

oColumn.Width = 80

oColumn = oColumns.Add("CardName", SAPbouiCOM.BoFormItemTypes.it_EDIT)

oColumn.TitleObject.Caption = "Name"

oColumn.Width = 100

oMatrix.AddRow(1)

oMatrix.Columns.Item("CardCode").Cells.Item(1).Specific.Value = "AAAAAAAAAA"

oMatrix.Columns.Item("CardName").Cells.Item(1).Specific.value = "BBBBBBBBBB"

The matrix frame is displayed fine, but the content "AAAAAAAAA" and "BBBBBBBBBB" can't be displayed.

Thanks