[Gambas-user] R: GridView and RichText

Rolf-Werner Eilert eilert-sprachen at ...221...
Tue Dec 1 15:36:40 CET 2015


Thanks for your answer, this was what lead me to the solution:

Am 27.11.2015 13:32, schrieb Ru Vuott:
>     If (Row = 1) And (Column = 1) Then GridView1.Data.Background = Color.SetAlpha(&FF0000, 240)
>     If (Row = 1) And (Column = 2) Then GridView1.Data.Background = Color.SetAlpha(&FFFF00, 240)
>     
>     GridView1.Data.RichText = s[Row, Column]
>


In the original, there was

GridView.Data.Text = ...

If .... Then
   GridView.Data.RichText = ...

i. e. the "Text" property overrides any RichText written later.

Regards
Rolf





More information about the User mailing list