Print Page | Close Window

How to change "There are no items to show"

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=14266
Printed Date: 15 November 2024 at 12:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to change "There are no items to show"
Posted By: Ares
Subject: How to change "There are no items to show"
Date Posted: 11 May 2009 at 8:35am
Hi!

I would like to use the report control in programs with different languages. It is possible to change the standard text the control shows like "There are now items to show" or "Drag a column header here to group by that column"?

Thanks
Ares



Replies:
Posted By: SuperMario
Date Posted: 11 May 2009 at 8:49am
http://codejock.com/support/articles/com/general/g_1.asp


Posted By: Ares
Date Posted: 11 May 2009 at 10:08am
Originally posted by SuperMario SuperMario wrote:

All you need to do is set the ResourceFile property of the component to the name of the resource file you want to use. This should be done in the Form_Initialize event.


As far as I can see ReportControl does not have a ResourceFile property. So where can I choose the resource file?

I would like to use some custome texts to give the user some additional information, e.g.  "There are no items to Show. Add a Folder Drag and Drop". Is it possible to use custom texts?


Posted By: Aaron
Date Posted: 11 May 2009 at 11:31am
Hi,
 
You can also use following properties and replace strings:
 
wndReportControl.PaintManager.NoItemsText= "Just some text..."
wndReportControl.PaintManager.NoGroupByText= "Just some text..."
wndReportControl.PaintManager.NoFieldsAvailableText = "Just some text..."
wndReportControl.PaintManager.SortByText = "Just some text..."
 
 


-------------
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....



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