Hi there...
actually i wanna check when i am reading by row a table a column for value and then make the "whole" row of tableview bold+changing color... is it possible and how ?
Somewhere read about assigning labels as columns but i can't figure it...
my working code is this:
actually i wanna check when i am reading by row a table a column for value and then make the "whole" row of tableview bold+changing color... is it possible and how ?
Somewhere read about assigning labels as columns but i can't figure it...
my working code is this:
B4X:
cursor1 = sql1.ExecQuery("SELECT * from eworks WHERE ID >" & lastid & " ORDER BY ID ASC;")
Do While cursor1.NextRow
Dim values(cursor1.ColumnCount) As String
bbold=False
For col = 0 To cursor1.ColumnCount - 1
Select Case col
Case 0
values(col) = NumberFormat2(cursor1.GetString2(col),10,0,0,False)
Case 4
If values(col)="" Then bbold=True
Case Else
values(col) = cursor1.GetString2(col)
End Select
Next
lastid = cursor1.GetString2(0)
'TableView2.items ---- make something/magic to make it bold :-)
TableView2.Items.Add(values)
'or afer adding it ? i need that too.. to turn it normal... if need for other reasons..
Loop
cursor1.Close