Print Page | Close Window

XAML Images display to the left

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19653
Printed Date: 15 November 2024 at 6:04pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XAML Images display to the left
Posted By: davbrat
Subject: XAML Images display to the left
Date Posted: 13 April 2012 at 1:12pm
Why when using a XAML <Image>, the image ends up displaying on the far upper left of the edge Flowgraph control?

If i was to have the following line in my XAML source...
<Image Source="file://C:/images/LargeGroupIcon.ico" Width="33" Height="35"  />

The icon would be outside of my XAML structure and in the upper left corner of the FG control.

This happens when XAML is used  in both the NODE or CONNECTIONPOINT captions. 
The same XAML source works as expected when loaded as a Tooltip for a NODE/CP.

Is this a limitation or an bug?

Thanks,

Dave B.


-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10



Replies:
Posted By: davbrat
Date Posted: 25 April 2012 at 3:50pm


Example: The Icon and Image are slammed to the upper left corner of the FC container.



And the same XAML source stuffed into a Tooltip displays the XAML source correctly.






-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: robirenz
Date Posted: 26 April 2012 at 12:00pm
I'd like to see this fixed also..

Best Regards...

Roberto Renz


Posted By: ArnoldYoung
Date Posted: 26 April 2012 at 1:14pm
It would be nice if this issue was resolved for us.
 
Thanks
Arnold


Posted By: jpg_dmc
Date Posted: 26 April 2012 at 1:47pm
I have the exact same problem here and would really appreciate this being fixed asap

Merci Codejock for your excellent products

JPG


-------------
Data Management Center
http://www.dmc-fr.com


Posted By: AndyWilton
Date Posted: 27 April 2012 at 3:41am
I've had this exact issue raised from a couple of my customers of late.

Any progress on this would be greatly appreciated :-)

Regards,
 
Andy


-------------
Product: Xtreme SuitePro (ActiveX) v11.2.1 -> v15.2.1
Platform: Windows XP / Vista / Win 7
Language: Clarion 5.5 -> C8.x
======================================
Andy Wilton


Posted By: SuperMario
Date Posted: 27 April 2012 at 1:27pm
davbrat, please upload or submit that sample to support so we can reproduce and fix it.


Posted By: SuperMario
Date Posted: 01 May 2012 at 11:28am
Seems Smoothing is the cause, ?CJFLOW{'SmoothingMode'} = 2 will work until we release a fix.


Posted By: davbrat
Date Posted: 01 May 2012 at 11:59am
That will work for now. 

Thanks!

Dave


-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: SuperMario
Date Posted: 01 May 2012 at 2:40pm
ok, fixed for next release


Posted By: davbrat
Date Posted: 01 May 2012 at 10:12pm

The fix for the XAML breaks the Image Index assignment (resets it to zero) and causes the image to display upside down. Works fine when SmoothingMode is anything other than two.

 

 

Dave



-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: SuperMario
Date Posted: 01 May 2012 at 10:49pm
have a picture of this upside down image?  Here in VB it looks normal set to 2.


Posted By: davbrat
Date Posted: 02 May 2012 at 12:05pm
SmoothingMode = 0

XAML in ConnectionPoint, Node using ImageIndex = 1


SmoothingMode = 2

XAML in ConnectionPoint, Node using ImageIndex = 1, image is really 0 and is upside down.
Santa is not happy.
 


Dave

-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: davbrat
Date Posted: 02 May 2012 at 12:19pm

I was trying to do a diagram style of Flowgraph.
SmoothingMode = 0
Thel ImageIndex values for the hardware are in the 20's




When SmoothingMode is set to 2

All images are reset to ImageIndex = 0 and are 180 degrees out of phase.



Dave

-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: SuperMario
Date Posted: 03 May 2012 at 9:13am
lol, indeed, Santa does not look happy!  Can you send me the code you use to make this?


Posted By: davbrat
Date Posted: 03 May 2012 at 12:31pm
I added it to the Attachments for Issue #28516

Thanks,

Dave

-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10


Posted By: SuperMario
Date Posted: 07 May 2012 at 1:18pm
upside-down should be fixed now too :)  Santa will be happy ;)


Posted By: davbrat
Date Posted: 07 May 2012 at 5:32pm
Great!

Thanks,

Dave


-------------
Product: Xtreme SuitePro (ActiveX) version 18.4.0 Platform: Windows XP SP2+ & Windows 7 (32bit & 64Bit)
Windows 8/8.1/10

Language: Clarion 5.0/5.5/6.3/7.3/8/9/9.1/10



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