I have a process variable
and I face sometimes the problem when using its variable like
object should be first initialised paint ...on this line :
lbl(newindex).TextColor=pipecolor
when I try to fix this with :
I get null pointer exception error ...
How should I handle this paint object to skip initialisation errors ?
B4X:
dim pipecolor as paint pipecolor= fx.Colors.Blue
and I face sometimes the problem when using its variable like
object should be first initialised paint ...on this line :
lbl(newindex).TextColor=pipecolor
when I try to fix this with :
B4X:
If pipecolor.IsInitialized=False Then
pipecolor=fx.Colors.Blue
End If
How should I handle this paint object to skip initialisation errors ?