Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Chart Control
  New Posts New Posts RSS Feed - XAML Images display to the left
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XAML Images display to the left

 Post Reply Post Reply
Author
Message
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post Topic: XAML Images display to the left
    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
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
robirenz View Drop Down
Groupie
Groupie


Joined: 20 May 2010
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote robirenz Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2012 at 12:00pm
I'd like to see this fixed also..

Best Regards...

Roberto Renz
Back to Top
ArnoldYoung View Drop Down
Newbie
Newbie
Avatar

Joined: 26 April 2012
Location: California
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote ArnoldYoung Quote  Post ReplyReply Direct Link To This Post Posted: 26 April 2012 at 1:14pm
It would be nice if this issue was resolved for us.
 
Thanks
Arnold
Back to Top
jpg_dmc View Drop Down
Newbie
Newbie


Joined: 11 October 2011
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote jpg_dmc Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
AndyWilton View Drop Down
Groupie
Groupie
Avatar

Joined: 03 June 2008
Status: Offline
Points: 82
Post Options Post Options   Thanks (0) Thanks(0)   Quote AndyWilton Quote  Post ReplyReply Direct Link To This Post 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
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: 27 April 2012 at 1:27pm
davbrat, please upload or submit that sample to support so we can reproduce and fix it.
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: 01 May 2012 at 11:28am
Seems Smoothing is the cause, ?CJFLOW{'SmoothingMode'} = 2 will work until we release a fix.
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
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: 01 May 2012 at 2:40pm
ok, fixed for next release
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
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: 01 May 2012 at 10:49pm
have a picture of this upside down image?  Here in VB it looks normal set to 2.
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
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: 03 May 2012 at 9:13am
lol, indeed, Santa does not look happy!  Can you send me the code you use to make this?
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
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: 07 May 2012 at 1:18pm
upside-down should be fixed now too :)  Santa will be happy ;)
Back to Top
davbrat View Drop Down
Groupie
Groupie
Avatar

Joined: 30 September 2009
Location: California
Status: Offline
Points: 59
Post Options Post Options   Thanks (0) Thanks(0)   Quote davbrat Quote  Post ReplyReply Direct Link To This Post 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
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.172 seconds.