Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 08 SEP 2012 06:08:16AM Chris Meyer wrote:

Is it possible to have an animated gif as a bitmap for a button on a form. The GIF appears as the button back ground but no animation.

TIA

Chris


At 11 SEP 2012 05:10PM Barry Stevens wrote:

have you tried <pathtogif>:"#<frameposition>" as per example for .DLL, just a thought


At 12 SEP 2012 02:01AM David Goddard wrote:

No, GIF animation is not supported.

You could use a window timer event to change the image on the button.

Dave G


At 12 SEP 2012 02:26AM Barry Stevens wrote:

How would you change the frames in the amimated gif on the timer envent, could not then be applied to what he wants and just change to 1 frame


At 12 SEP 2012 02:42AM David Goddard wrote:

OpenInsight does not support annimated GIF's

You would fake animation by changing images. The images would be in bmp, jpg or png format, one image per file.

image1.bmp

image2.bmp

image3.bmp

then on a window timer event do something like this

image = get_property(ctrl,'BITMAP')

image.pos = image[-5,1]

if image.pos = 3 then image.pos = 0

image.pos += 1

image[-5,1] = image.pos

void = set_property(ctrl,'BITMAP',image)

Dave G


At 12 SEP 2012 07:11AM Barry Stevens wrote:

Ah, now I see what you meaning.


At 12 SEP 2012 07:13AM Barry Stevens wrote:

Contact Don bakke at SRP for one of his ole's

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/8a490f7b65c6697976d6a2aaa.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1