|  | 
| Working with hidden Column | 
| Post Reply   | 
| Author | |
| demiurge   Newbie   Joined: 25 March 2009 Status: Offline Points: 8 |  Post Options  Thanks(0)  Quote  Reply  Topic: Working with hidden Column Posted: 22 July 2010 at 3:20am | 
| 
   Hello, 
 i have a little problem with the report control. I add several visible columns and one hidden column at the end. I don't use autsize function. The width of all columns is smaller then the width of the control. Here begins my Problem. Although the columns dont user the hole width, i get a horizontal scrollbar and when i size the last visible column to maximum width, i get a empty column.  How can i fix it in the matter, that there is no scroolbar and no empty column. Thanks for your help. | |
| 
     Product: Xtreme Report Control ActiveX 2009 Vol 3 version 13.3.1  Platform: Windows XP (32bit) - SP 3 Language: MS Access 2003 | |
|  | |
| Aaron   Senior Member   Joined: 29 January 2008 Status: Offline Points: 2192 |  Post Options  Thanks(0)  Quote  Reply  Posted: 23 July 2010 at 4:20pm | 
| 
   Hi,
 Maybe I don't understand what you mean... But this will resize only last column to full width of RC With wndReportControl         .AutoColumnSizing = True         For i = 0 To 5 
         Next i Me.wndReportControl.Columns(5).AutoSize = True 'This will autosize only last column End With But if you resize RC smaller than total width of columns the scrollbar will appear. If you don't want scrollbars, you have to set AutoColumnSizing to True. As I said before, maybe I don't understand what you mean, in that case just upload small demo and explain what you want. | |
| 
     Product: Xtreme SuitePro (ActiveX) version 15.0.2 
 Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 Zero replies is not an option.... | |
|  | |
| demiurge   Newbie   Joined: 25 March 2009 Status: Offline Points: 8 |  Post Options  Thanks(0)  Quote  Reply  Posted: 24 July 2010 at 12:56pm | 
| 
   Hi,
 thank you for your answer. Your example works fine. I will check it in my project at work on monday.  Have a nice weekend. | |
| 
     Product: Xtreme Report Control ActiveX 2009 Vol 3 version 13.3.1  Platform: Windows XP (32bit) - SP 3 Language: MS Access 2003 | |
|  | |
| demiurge   Newbie   Joined: 25 March 2009 Status: Offline Points: 8 |  Post Options  Thanks(0)  Quote  Reply  Posted: 30 July 2010 at 9:44am | 
| 
   Hi,
 i have found my mistake. I have used the "FullColumnScrolling" property. After disabling this property everything was right. Thanks for ypir help. Regards  Demiurge | |
| 
     Product: Xtreme Report Control ActiveX 2009 Vol 3 version 13.3.1  Platform: Windows XP (32bit) - SP 3 Language: MS Access 2003 | |
|  | |
| 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 |