Rank: Advanced Member Groups: Member
Joined: 8/27/2007 Posts: 44
|
Hello again,
In the code handling the itempopulate event, I am changing the normal style (forecolor) of the childnodes being added, according to the properties of the childnodes.
This seems to work fine when clicking on a node, but not when expanding it using the + symbol.
any idead on how I can fix this ?
Best Regards, Alexis
|
Rank: Advanced Member Groups: Member
Joined: 8/27/2007 Posts: 44
|
Also, when clicking on the childnodes, the formatting (for example forecolor = gray for certain childnodes), the formatting disappears.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Alexis,
Make sure that you do not specify styles on the item itself. Put all styles through look items and then set your dynamically populated item's LookID to control styles.
Thanks
|