Print Page | Close Window

[SOLVED] Icons in ReportControl markup

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=10779
Printed Date: 16 September 2024 at 7:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] Icons in ReportControl markup
Posted By: Aaron
Subject: [SOLVED] Icons in ReportControl markup
Date Posted: 26 May 2008 at 9:39am
Hi,
 
I'm trying to add markup tooltips to ReportControl. I tried and tried but no result. The skin on the back of my head is already showing
 
The only thing is missing is the icon before "Press F1 for more help" (tooltip reportcontrol). The tooltip for commandbars is OK, well see for yourself if you want to. Would anybody be so kind and show me how to add the icon (see function LoadImages) in the tooltip before I look just like Kojak  
 
 
  https://forum.codejock.com/uploads/20080526_094026_TestTooltips.zip - uploads/20080526_094026_TestTooltips.zip


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



Replies:
Posted By: Oleg
Date Posted: 26 May 2008 at 9:57am
Hi,
:( Yes, looks like need to add XtremeReportControl.Icons property :(
We will add it, Thanks.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 26 May 2008 at 10:06am
Oleg,
 
You are joking, right? I spent hours searching for nothing
 
One question though: If I want to build all my tooltips this way, can I expect more of these "snakes in the grass" ?
 
If there are any I would be glad if you tell me in advance! 
 
Thank you


-------------
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: Aaron
Date Posted: 26 May 2008 at 10:12am
Originally posted by oleg oleg wrote:

Hi,
:( Yes, looks like need to add XtremeReportControl.Icons property :(
We will add it, Thanks.
 
Hi,
 
Why do you need to add it. I'm a little confused right now.


-------------
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: ijwelch
Date Posted: 26 May 2008 at 10:20am
This seems to be problem with markup rendering for report control as doesn't show image even when supplied as file path (as opposed to imagemanager id).


Posted By: Oleg
Date Posted: 26 May 2008 at 10:29am
HI,
 
Markup for each control search images in icons of globalsettings. Currently there is only CommandBarsGlobalSettings.Icons and SuiteControlsGlobalSettings.Icons properties.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Aaron
Date Posted: 26 May 2008 at 10:36am
Originally posted by oleg oleg wrote:

HI,
 
Markup for each control search images in icons of globalsettings. Currently there is only CommandBarsGlobalSettings.Icons and SuiteControlsGlobalSettings.Icons properties.
 
Oleg,
 
If I would do this:
 
CommandBars.GlobalSettings.Icons.RemoveAll
CommandBars.Icons.RemoveAll
CommandBars.Icons.LoadIcon App.Path & "\Events.ico", ID_TOOLBAR_REPORTS_HELP, xtpImageNormal
 
 
Would there still be an icon in GlobalSettings.Icons ? (because this still works with my sample)


-------------
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: SuperMario
Date Posted: 24 June 2008 at 2:51pm
Do you use Options.UseSharedImageList = True ?  If so, then the icons will get added to GlobalSettings.


Posted By: Aaron
Date Posted: 24 June 2008 at 3:20pm
Hi,
 
What GlobalSettings? Commandbars.GlobalSettings or ReportControl.GlobalSettings or .GlobalSettings... What do you mean SuperMario?
 
See the uploaded sample yourself, maybe I'm missing something...


-------------
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: SuperMario
Date Posted: 03 July 2008 at 11:59am
Commandbars


Posted By: Aaron
Date Posted: 04 July 2008 at 2:07am
SuperMario,
 
I don't get it, you have to explain. See the sample project I uploaded and add comment or change code how this should be done.
 
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....


Posted By: Aaron
Date Posted: 08 July 2008 at 1:28am
Hi,
 
Added in V12.0.1: ReportControlGlobalSettings.Icons property seems to solve the problem like Oleg said
 
 


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