|  | 
| [SOLVED] No GridLines on empty rows | 
| Post Reply   | 
| Author | |
| McKloony   Senior Member     Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |  Post Options  Thanks(0)  Quote  Reply  Topic: [SOLVED] No GridLines on empty rows Posted: 08 August 2011 at 4:32am | 
| 
   
Please could you tell me, how can I get GridLines on empty rows? | |
| 
     Product: Xtreme SuitePro (ActiveX) 16.2.5 Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 | |
|  | |
| jpbro   Senior Member     Joined: 12 January 2007 Status: Offline Points: 1357 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2011 at 8:45am | 
| 
   Does Me.ReportControl1.PaintManager.DrawGridForEmptySpace = True/False control the grid lines as you require?
    | |
| 
     Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 | |
|  | |
| McKloony   Senior Member     Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2011 at 10:52am | 
| 
   
No, this property only shows GridLines if one or more records are available! | |
| 
     Product: Xtreme SuitePro (ActiveX) 16.2.5 Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 | |
|  | |
| jpbro   Senior Member     Joined: 12 January 2007 Status: Offline Points: 1357 |  Post Options  Thanks(0)  Quote  Reply  Posted: 08 August 2011 at 12:24pm | 
| 
   Oh, I undestand now - I didn't realize you meant when there are no records. I tried to get something done with Markup, but there appears to be a margin around rendered markup, so the gridlines don't match with the column widths. To accomplish what you want, you will probably need Codejock intervention... | |
| 
     Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 | |
|  | |
| McKloony   Senior Member     Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 August 2011 at 5:43am | 
| 
   
Yes thank you very much for your help. I just do not understand why this property Codejock changes from version to version and you can be sure that certain properties remain as they are.
    | |
| 
     Product: Xtreme SuitePro (ActiveX) 16.2.5 Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 | |
|  | |
| jpbro   Senior Member     Joined: 12 January 2007 Status: Offline Points: 1357 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 August 2011 at 7:15am | 
| 
   Oh, so grid mode used to work when there were no records in a previous release of the control? I agree that that definitely shouldn't been changed! A PaintManager option for HideGridNoRecords (or something) should have been added instead. :(
    | |
| 
     Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 | |
|  | |
| McKloony   Senior Member     Joined: 09 January 2007 Location: Germany Status: Offline Points: 340 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 August 2011 at 7:27am | 
| 
   
You must see this from the perspective of the user. If this sees only a blank, white sheet, he can not imagine that there will come in time data. Your described property would be very helpful.
    | |
| 
     Product: Xtreme SuitePro (ActiveX) 16.2.5 Platform: XP / Windows 7 Language: Visual Basic 6.0 SP6 | |
|  | |
| Aaron   Senior Member   Joined: 29 January 2008 Status: Offline Points: 2192 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 August 2011 at 9:04am | 
| 
 Hi Jason, There's already DrawGridForEmptySpace property   I guess Andre made mistake somewhere and will correct it, right Andre? | |
| 
     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.... | |
|  | |
| jpbro   Senior Member     Joined: 12 January 2007 Status: Offline Points: 1357 |  Post Options  Thanks(0)  Quote  Reply  Posted: 09 August 2011 at 11:24am | 
| 
   I know about DrawGridForEmptySpace - I just meant if they wanted the option to only show the grid if there was at least one record then they shouldn't have broken the previous behaviour...so an additional HideGridOnNoRecords (or similarly named) property could have been added to support the new behaviour while maintaining the previous behaviour with no source modifications required by customers.
    | |
| 
     Product: Xtreme SuitePro (ActiveX) version 16.2.6 Platform: Windows XP - SP3 Language: Visual Basic 6.0 SP6 | |
|  | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  Posted: 11 August 2011 at 4:48pm | 
| 
   This has been reverted in 15.1.3. Andre | |
| 
     Codejock support
     | |
|  | |
| 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 |