Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Animated gif in a box (Read 3210 times)
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Animated gif in a box
Oct 7th, 2011 at 12:28pm
Print Post  
Hello,

I am testing your activeX version.
I have developped (as customer) a JDiagram application with animated gif in shapenodes.
I am trying to do the same thing in powerbuilder with the following code.
[code]
oleobject noeud

// Creation of a box

noeud = ole_flowchart.object.createbox (10, 10, 200, 200)
noeud.text = "Task1"
noeud.loadpicture ("D:\workspace_eclipse\VegaWebGraphe\images\engrenage.gif")
[/code]

The image is displayed but is not animated.

Is it possible to display animated gif in the activeX version ?

Thanks

Regards
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Animated gif in a box
Reply #1 - Oct 7th, 2011 at 2:11pm
Print Post  
Hi,

Unfortunately you cannot show animated gifs in the ActiveX version since the OLE StdPicture type cannot load them. You could use a third party library to load the GIF frames and assign them to the node from a timer, e.g. check this one:
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=822...

The Java control doesn't do anything to play animated GIFs either, but the Java's drawImage function takes care of that automatically.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
JR
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 86
Joined: Jun 12th, 2007
Re: Animated gif in a box
Reply #2 - Oct 7th, 2011 at 2:28pm
Print Post  
It' a pity.

I will look for use only not animated pictures

Thank you anyway.

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint