This works for me: - Public Sub Form_Open() TableView1.Rows.Count = 2 TableView1.Columns.Count = 2 With TableView1[0, 0] .Background = Color.Yellow .Foreground = Color.Red .Text = "Hello" .Alignment = Align.Center .Font.bold = True End With End
-- View this message in context: http://gambas.8142.n7.nabble.com/Different-Foreground-Color-of-a-string-in-TableView-Cell-tp55597p55598.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user