Very quick treeview question

yildi

Member
Licensed User
Hello,
I am trying to use a TreeView object called tree in my application.
I am trying to set its color by typing
B4X:
tree.Color = 0,51,51
(I have followed the Color example of the general B4PPC help file since there is no example for this property of the TreeView)

But the compiler gives me an error telling that it needs a semicolon (;):
Error CS1002: ; expected

How can I set this property?

Same question for tree.FontColor

I am sure that some of the gurus know the answer to this (probably) stupid question :)

Thanks in advance

Regards,
Murat
 

yildi

Member
Licensed User
Thanks a lot to both of you!
It seems that I have totally missed this point :(

Best regards,

Murat
 
Top