(SOLVED) Extend last Column to fit. |
Post Reply |
Author | |
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
Posted: 12 January 2011 at 5:50am |
Hi
Is there anyway to get the report control to extend the width of the last column to fill the width of the control.
Many Thanks
Mark
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi Mark I thought CJ added something to accomplish this, but I can't seem to find how... The only solution I can give you right now is setting AutoColumnSizing to True and if you don't want other columns (auto)sized (see code below) or set MinimumWidth/ MaximumWidth for each column except last one:
With wndReportControl
.AutoColumnSizing = True With .Columns With .Add(.Count, "Col 1", 100, True) .AutoSize = False End With With .Add(.Count, "Col 2", 100, True) .AutoSize = False End With With .Add(.Count, "Col 3", 100, True) .AutoSize = True End With End With End With
|
|
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.... |
|
markmark
Senior Member Joined: 30 November 2007 Status: Offline Points: 142 |
Post Options
Thanks(0)
|
Aaron many thanks that what I was look for.
was looking only at the Col object never saw AutoColumnSizing
not long now until we get ver 15, I never updated from ver 13 even though I kept my support paid up
Hope it a good one!
Thanks again
Mark
|
|
Product: Xtreme SuitePro (ActiveX) version 13.0.0
Platform: Windows XP (32bit) - SP 2 Language: Visual Basic 6.0 |
|
Aaron
Senior Member Joined: 29 January 2008 Status: Offline Points: 2192 |
Post Options
Thanks(0)
|
Hi,
Is this possible yet? (without the workaround I showed)
I thought LastColumnWidthWYSIWYG property would do that but I can't get it to work...
Thanks
|
|
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.... |
|
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 |