4 Replies Latest reply: Jan 11, 2014 1:36 AM by Vijetha RSS

I want to show movable image on form like data loding symbol

a84b7ae4-6e15-48f1-bb6e-7446903a8ebd Newbie
Currently Being Moderated

Dear All, I am working on developer2000 6i version I want to show movable image on form like data loding symbol.currently i have taken .GIF Image but it is not moving so is there any way to do the same. oracle 10g forms 6i version Faizan

  • 1. Re: I want to show movable image on form like data loding symbol
    CraigB Guru
    Currently Being Moderated

    Oracle Forms 6i doesn't support animated image files.  I'm not even sure if the current version of Oracle Forms (11.1.2.x.x) supports animated images.

     

    Craig...

  • 2. Re: I want to show movable image on form like data loding symbol
    Michael Ferrante (Oracle) Guru Moderator
    Currently Being Moderated

    Animated images are supported on iconic buttons when deployed as a web app.  In 11.1.2, it is also supported in an image item when loaded via URL.  Images loaded via URL cannot be saved to the db.

     

    For version 6 (client/server) you might be able to use an ActiveX control, although I would not recommend it as this will not work when you move the app to a newer version.  I have seen where various symbols are used to appear likely progress bars.  For example if you did a loop and used a character like >  Create a loop and add to the previous in order to grow a horizontal bar.  For example:

     

    a := '>>';

    a := a || '>>';

     

    The longer you loop, the longer the line will be come:

    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ...

  • 3. Re: I want to show movable image on form like data loding symbol
    Jan-Peter Timmermann Explorer
    Currently Being Moderated

    As Michael told you, you can use ActiveX . But if you want or have to upgrade to a new Release of Oracle Forms (11.1.2.2) ActiveX is no longer supported and you have to change you fmb

    the second example is a great Idea

  • 4. Re: I want to show movable image on form like data loding symbol
    Vijetha Explorer
    Currently Being Moderated

    Hi Faizan,

              Even i work on D2K (Forms 6i). I have tried this below & found the result.

         Its true that you can not add animated image. But you can definitely show a data loading symbol in code.

         Add 2 different contrast colours and choose a striped pattern.

    1) Create a text item with a lengthy rectangle (width minimum of 300).

    2) Create a visual attribute for it with desired colours.

    3) Finally add the following in between your code.

     

    Your Code

    ......

    ........

    set_item_property('YOUR_BLOCK.TEXT_ITEM',visible,property_true);

       set_item_property('YOUR_BLOCK.TEXT_ITEM', width,2);

    ......

    ........

    Your Code

    ......

    ........

    tot_wid:= get_item_property('YOUR_BLOCK.TEXT_ITEM', width);

    ......

    ........

    Your Code

    ......

    ........

    set_item_property('BLOCK3.PROGBAR', width,100);

    ......

    ........

    Your Code

    ......

    ........

    set_item_property('BLOCK3.PROGBAR', width,300);

    Message('Data Loading is completed');

     

    Try this out and let me know if its working as you expected & also let me know if there is a problem.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points