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
Edited by: hkcm hkcm on Sep 23, 2008 6:25 AM