Report markup flaw |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 03 May 2008 at 10:24pm |
I have a combo button inside my cell, with these constraints: "1" "2"
When selected, I want my cell to make use of Markup:
"1" yields "<TextBlock FontWeight='Bold' Foreground='Blue' Text='1'/>"
"2" yields "<TextBlock FontWeight='Bold' Foreground='Red' Text='2'/>" However, SetCaption is never called. If we trace the calls we end up at XTPReportInplaceControls.cpp(857):
pItem->OnConstraintChanged(&itemArgs, pConstraint);
pReportControl->RedrawControl(); pReportControl->SendMessageToParent(itemArgs.pRow, itemArgs.pItem, itemArgs.pColumn, XTP_NM_REPORT_VALUECHANGED, 0); OnConstraintChanged will only update the value (SetValue). Preferrably, the correct Markup-caption should be set before the control is redrawn!
As I see it, the Markup needs some re-design in the report control. Also see http://forum.codejock.com/forum_posts.asp?TID=10473
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions 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 |