At 03:29 PM 12/6/2004 -0500, David Blocker wrote:

Razzak

I'm really glad you posted this example because
it allows me to formulate a question that I've
found hard to phrase.

In this example:

1.  Where would this run? I assume as a form eep?
On entry to the row of the form showing the GIF?


David,

Animated GIF Control (part of Additional Controls)
with correct image and checked "Animated" option
property will always keep it running by default.


2.  Can you put into plain English what this does
with comments?  It looks like if when the form
opens, the animation is be animated, then the EEP
turns it off.  If it's off it turns it on.

Is that correct? If so, how long then would it run?


It depends on the type of Animated GIF.

By default, it will keep running indefinitely until
stopped using the PROPERTY command.

Use the following example in an EEP for Push Button,
Bit Button, Speed Button, Office Button, Shape Button
or Enhanced Speed Button to understand the PROPERTY
and GETPROPERTY command:

GETPROPERTY <AnimatedGIFComponentID> ANIMATE vGIFAct
IF vGIFAct = 'TRUE' THEN
   PROPERTY <AnimatedGIFComponentID> ANIMATE 'FALSE'
ELSE
   PROPERTY <AnimatedGIFComponentID> ANIMATE 'TRUE'
NDIF
RETURN

-- GETPROPERTY <AnimatedGIFComponentID> ANIMATE vGIFAct
-- vGIFAct will return the current status (TRUE/FALSE)
-- of animated GIF .
-- IF ... ELSE ... ENDIF turns it OFF/ON accordingly
-- If ON it turns it OFF. If OFF it turns it ON.

Take a look at the exact example demonstrated in
Running R:BASE Your Way! (Part 5):

RRBYW Database: RRBYW5
Form: RRBYW5MainMenu

. Animated GIF (Fast Moving Blue Object) is placed on
  the upper left corner of the main menu form

. Static Text (Running R:BASE Your Way!) with matchinh
  background color is placed on the top of Animated GIF

. A transparent Speed Button control, placed on the top
  of the animated GIF with embedded custom EEP controls
  the ON/OFF action on demand!

Enjoy and make sure to have fun!

Very Best R:egards,

Razzak.



Reply via email to