Print Page | Close Window

InvertColumnOnClick not working !?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=5346
Printed Date: 19 September 2024 at 12:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: InvertColumnOnClick not working !?
Posted By: tobi
Subject: InvertColumnOnClick not working !?
Date Posted: 23 October 2006 at 2:18pm
I´ve noticed that the property InvertColumnOnClick seems not to work if set to False when using Office2003 header styles ?
Is this by design ?



Replies:
Posted By: sserge
Date Posted: 24 October 2006 at 4:27am
Yes, that's true. But note that for Office2003 header style it is not inverting, just drawn each column state using gradient colors:
See properties:
    wndReportControl.PaintManager.ColumnXXX
 
Use the following way to set the same style:
wndReportControl.PaintManager.ColumnPushedGradientColorDark = wndReportControl.PaintManager.ColumnHotGradientColorDark
wndReportControl.PaintManager.ColumnPushedGradientColorLight = wndReportControl.PaintManager.ColumnHotGradientColorLight

--
WBR,
Serge


Posted By: tobi
Date Posted: 24 October 2006 at 4:52pm
Thanks for that sserge,
 
but doesn´t it make sense to do that automatically if the property is set to false ? Perhaps a feature request ?


Posted By: sserge
Date Posted: 25 October 2006 at 2:37pm
Well, I'm not completely sure, still looks like this shouldn't be done automatically -- there is a way to perform the task in 2 lines...

--
WBR,
Serge


Posted By: tobi
Date Posted: 29 December 2006 at 9:23am
Dear Serge,
I just tried your solution to prevent the Office2003 header style from color-chaging if the users clicks on the header - it does not work !
It still changes colors ! I´m using 10.3.1 ...
 


Posted By: sserge
Date Posted: 12 January 2007 at 4:07pm
Hi,

For me the following lines added to the end of Form_Load handler work pretty fine:


wndReportControl.PaintManager.ColumnPushedGradientColorDark = wndReportControl.PaintManager.ColumnHotGradientColorDark
wndReportControl.PaintManager.ColumnPushedGradientColorLight = wndReportControl.PaintManager.ColumnHotGradientColorLight
wndReportControl.PaintManager.ColumnStyle = xtpColumnOffice2003


--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net