InvertColumnOnClick not working !? |
Post Reply |
Author | |
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
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 ?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
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 ?
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
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 |
|
tobi
Senior Member Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |
Post Options
Thanks(0)
|
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 ...
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
For me the following lines added to the end of Form_Load handler work pretty fine:
-- WBR, Serge |
|
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 |