Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Working with hidden Column
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Working with hidden Column

 Post Reply Post Reply
Author
Message
demiurge View Drop Down
Newbie
Newbie


Joined: 25 March 2009
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote demiurge Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post 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

        With .Columns
            With .Add(.Count, "Column " & i, 100, True)
                .AutoSize = False
            End With
        End With
        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....
Back to Top
demiurge View Drop Down
Newbie
Newbie


Joined: 25 March 2009
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote demiurge Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
demiurge View Drop Down
Newbie
Newbie


Joined: 25 March 2009
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote demiurge Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.