Hi All,
I know I should know this one, but the brain cells just don't click.
I have a number of lables lblF0 - lblF15 in which the textcolour changes. At some point I need to preserve the current text colours. I have attempted to do this in a for/next in various ways but all have failed.
Below was the code starting point but this stores a string [eg "lblF1.TextColor"] not the color number.
Regards Roger
I know I should know this one, but the brain cells just don't click.
I have a number of lables lblF0 - lblF15 in which the textcolour changes. At some point I need to preserve the current text colours. I have attempted to do this in a for/next in various ways but all have failed.
Below was the code starting point but this stores a string [eg "lblF1.TextColor"] not the color number.
B4X:
Dim Fcolours(16) As String
For FCol = 0 To 15
Fcolours(FCol) = "lblF"&FCol&".TextColor"
Next
Regards Roger