|  | 
| InvertColumnOnClick not working !? | 
| Post Reply   | 
| Author | |
| tobi   Senior Member     Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |  Post Options  Thanks(0)  Quote  Reply  Topic: InvertColumnOnClick not working !? 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)  Quote  Reply  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 | |
|  | |
| tobi   Senior Member     Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |  Post Options  Thanks(0)  Quote  Reply  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 ? | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| tobi   Senior Member     Joined: 09 September 2004 Location: Germany Status: Offline Points: 451 |  Post Options  Thanks(0)  Quote  Reply  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 ... | |
|  | |
| sserge   Moderator Group   Joined: 01 December 2004 Status: Offline Points: 1297 |  Post Options  Thanks(0)  Quote  Reply  Posted: 12 January 2007 at 4:07pm | 
| 
   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 |