Re: how can you get moving gif's working in formbuilder 6.0
From: Frans H. <fransh_at_hotmail.com>
Date: 6 Mar 2003 09:09:43 -0800
Message-ID: <31abf0e5.0303060026.2f468037_at_posting.google.com>
DECLARE
v_number number;
BEGIN
v_number := to_number(:global.dummy);
SET_ITEM_PROPERTY('IMAGE1', DISPLAYED, PROPERTY_FALSE); SET_ITEM_PROPERTY('IMAGE2', DISPLAYED, PROPERTY_TRUE); END IF;
v_number := - v_number;
:global.dummy := to_char(v_number);
END; hth
Frans Received on Thu Mar 06 2003 - 18:09:43 CET
Date: 6 Mar 2003 09:09:43 -0800
Message-ID: <31abf0e5.0303060026.2f468037_at_posting.google.com>
jorenders_at_hotmail.com (JR) wrote in message news:<4096148f.0303051336.6deecd7_at_posting.google.com>...
> jorenders_at_hotmail.com (JR) wrote in message news:<4096148f.0303041231.237b1967_at_posting.google.com>...
> > I tried to import them on the regular way but then there just plane
> > gif's and no moving gif. anybody who knows the solution?
>
>
>
> I really need help on this one. moving give importing in form
> builder regular forms and without setting the gif into a table
>
> heeeeeeelp meeeee
jorenders,
forms <> html. You can't. You could build your own moving gif in forms
using different gifs and timers. That is, if you don't care about
client side perfomance.
WHEN-NEW-FORM-INSTANCE:
DECLARE
timer_id Timer; one_second NUMBER(4) := 1000; BEGIN :global.dummy := '1'; READ_IMAGE_FILE('c:\users\frans\images\test1.bmp', 'BMP', 'image1'); READ_IMAGE_FILE('c:\users\frans\images\test2.bmp', 'BMP', 'image2'); timer_id := CREATE_TIMER('FLASH_TIMER', one_second);END; WHEN-TIMER-EXPIRED:
DECLARE
v_number number;
BEGIN
v_number := to_number(:global.dummy);
IF v_number = 1 THEN SET_ITEM_PROPERTY('IMAGE2', DISPLAYED, PROPERTY_FALSE); SET_ITEM_PROPERTY('IMAGE1', DISPLAYED, PROPERTY_TRUE);ELSE
SET_ITEM_PROPERTY('IMAGE1', DISPLAYED, PROPERTY_FALSE); SET_ITEM_PROPERTY('IMAGE2', DISPLAYED, PROPERTY_TRUE); END IF;
v_number := - v_number;
:global.dummy := to_char(v_number);
END; hth
Frans Received on Thu Mar 06 2003 - 18:09:43 CET