02-09-2011 02:04 PM
I am changing the tree programmatically to relay the results of a search, and I would like to change the font of JUST the parents to bold (or possibly changing the font size as well). Is it possible to do this without running through a for-loop and actively selecting each parent and then applying the font changes? For instance, I would like to go from the first figure to the second.
>>>>>>
Thanks.
02-10-2011 12:53 AM
Hi edweir,
why is running through a for loop a problem? If you defer panel updates, then it looks like a jump from your first image to the second.
Mike
02-10-2011 08:38 AM
hmm...
Mostly I was just worried about the case when I have a huge amount of entries and watching the panel slowly change... However, deferring the front panel update might be a solution. I'll check that out.
Re: the original question, it is not possible then to change properties for all elements at once i.e. all the parents or all the children?
Erik
02-10-2011 09:51 AM
Returning to the step before I thought that I was at... how do I select the active cell for the tree control. I tried to set the ActiveItem Tag property, but it only sets the active item and does not set the ActiveCell (at least I think so..), because the property that I try to set in ActiveCell does not properly change...
Suggestions on how to select the ActiveCell programmatically?