iOS Question about tableview include CRLF

kemanlam

Member
Licensed User
Longtime User
Hi,

my code here:
---------------------------------------------
TableView1.Initialize("TableView1",False)
Page1.RootPanel.AddView(TableView1, 0, 0, 100%x, 100%y)
' Dim img As Bitmap = LoadBitmap(File.DirAssets, "smiley.png")
TableView1.RowHeight=60
For i = 1 To 6
Dim tc As TableCell = TableView1.AddSingleLine("Item #" & CRLF & i)
tc.AccessoryType = tc.ACCESSORY_INDICATOR
Next
End Sub

--------------------------------------------
I want cell to be this "Item #
1 "

but the "CRLF" not to run. where am i worng?
 

imbault

Well-Known Member
Licensed User
Longtime User
I don't think you can.
But why not:
B4X:
Dim tc As TableCell = tableview1.AddTwoLines("Item #" ,i)
 
Upvote 0
Top