Image won't display in Markup
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=11058
Printed Date: 15 June 2025 at 2:21pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Image won't display in Markup
Posted By: chrisABC
Subject: Image won't display in Markup
Date Posted: 16 June 2008 at 11:28am
(Now resolved -- problem only with some image files)
Just using the RibbonBar sample, I want to use icon in the MessageBar.
Using Markup with <Image Source='1234'/>
I have read the earlier messages in this Forum and I have tried all the suggestions.
But I cannot get the icon to show on screen.
I have an ImageManager control with this icon. And I have used CommandBars.GlobalSettings.Icons.AddIcon ImageManager.Icons
------------- Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
Replies:
Posted By: cmm2006
Date Posted: 16 June 2008 at 3:49pm
did you assign 1234 as id to your image
const ID_IMAGE=1234
|
Posted By: chrisABC
Date Posted: 16 June 2008 at 4:32pm
Yes, I assigned 1234 ID to the image.
I also used image ID 1234 in popup button etc and it works fine there. I tried other icons also but I cannot get any of them to work in MarkUp.
------------- Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
Posted By: chrisABC
Date Posted: 19 June 2008 at 5:52am
Sorry CodeJock, it was all my fault !!!
I now find that SOME images do not display in MessageBar Markup (but display OK in buttons). However, some images are OK in MessageBar.
So the problem is to do with the image.
I will try and identify what is different about an image that makes MessageBar ignore it, and post the result here. (I thought all my images were 16x16 icons.... but there must be some difference).
------------- Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
|
|