Hi
i try to add multiple editors to a list
it seems it does not work , i want to display the messages in HTML code
any hints
thanks AH
i try to add multiple editors to a list
it seems it does not work , i want to display the messages in HTML code
any hints
thanks AH
B4X:
Sub BuildItemlist(id As String, icon As String,ids As String,dinotext As String,isnew As Boolean) As ABMContainer
Dim usercount As ABMContainer
usercount.Initialize(page, "usercount", "centercontent")
usercount.Tag=ids
usercount.AddRowsM(1,True,0,0,"centercontent").AddCellsOSMP(1,0,0,0,3,3,3,6,0,0,0,"centercontent")
usercount.AddRows(1,True,"").AddCells12(1,"")
usercount.BuildGrid ' IMPORTANT!
#End Region
Dim lbl As ABMLabel
lbl.Initialize(page, "lbl1", "Message ID : " & ids, ABM.size_h5, False, "")
lbl.VerticalAlign = True
lbl.IconName = icon
lbl.Tag=dinotext
usercount.Cell(1,1).AddComponent(lbl)
Dim editor2 As ABMEditor
editor2.Initialize(page, "editor2" & ids, True, False, "editor")
editor2.SetHTML(dinotext)
editor2.Refresh
usercount.Cell(2,1).AddComponent(editor2)
' usercount.Cell(2,1).AddComponent(ABMShared.BuildHeader(page, "hdr1", dinotext))
Return usercount
End Sub