Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - How to change "There are no items to show"
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to change "There are no items to show"

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


Joined: 07 May 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ares Quote  Post ReplyReply Direct Link To This Post Topic: How to change "There are no items to show"
    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
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 11 May 2009 at 8:49am
http://codejock.com/support/articles/com/general/g_1.asp
Back to Top
Ares View Drop Down
Newbie
Newbie


Joined: 07 May 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ares Quote  Post ReplyReply Direct Link To This Post 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?
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: 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....
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.188 seconds.