Change TextSettings to TTreeVievItem in Firemonkey
Changing the text property of a tree item in Firemonkey is really simple, you only need to do this:
1 2 3 4 5 6 7 |
tiC := TTreeViewItem.Create(<your TreeView Object>); tiC.Text := 'BLA BLA'; tiC.StyledSettings := []; tiC.TextSettings.FontColor := TAlphaColorRec.Blue; tiC.Parent := ParentItem; tiC.TagString := <some data if you need>; tiC.Tag := <some id if you need>; |