Welcome Guest Search | Active Topics | Sign In | Register

Style not applied on itempopulate ? Options
AlexisVZ
Posted: Friday, January 11, 2008 4:50:51 AM
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
AlexisVZ
Posted: Friday, January 11, 2008 4:53:30 AM
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.
eo_support
Posted: Friday, January 11, 2008 5:25:04 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.