Print Page | Close Window

[SOLVED] No GridLines on empty rows

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18800
Printed Date: 26 July 2025 at 9:28am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] No GridLines on empty rows
Posted By: McKloony
Subject: [SOLVED] No GridLines on empty rows
Date 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



Replies:
Posted By: jpbro
Date 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



Posted By: McKloony
Date 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


Posted By: jpbro
Date 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



Posted By: McKloony
Date 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


Posted By: jpbro
Date 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



Posted By: McKloony
Date 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


Posted By: Aaron
Date Posted: 09 August 2011 at 9:04am
Originally posted by jpbro jpbro wrote:

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. :(
 
 
Hi Jason,
 
There's already DrawGridForEmptySpace property Tongue 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....


Posted By: jpbro
Date 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



Posted By: ABuenger
Date Posted: 11 August 2011 at 4:48pm
This has been reverted in 15.1.3.

Andre



-------------
Codejock support



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net