Skip to Content
author's profile photo Former Member
Former Member

setting the mouse pointer

Hi all,

is it possible to set the mouse pointer from pointer to hour glass and back while a web site is loading in the html viewer? If yes, how? Which method is to use? Which attribute needs to be set?

regards

Siggi

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • Posted on Dec 14, 2004 at 02:08 PM

    There is a function module to show the progress:

    SAPGUI_PROGRESS_INDICATOR

    It's not what you want; however it may be useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2004 at 02:41 PM

    Some javascript might help. It only works in MIE and it could look something like this

    if (navigator.appName != 'Netscape') {

    for (var i=0;i < document.all.length; i++)

    document.all(i).style.cursor = 'wait';

    }

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 14, 2004 at 03:07 PM

    Hi plz copy the peice of code into some Zprogram and run it if it solve your problem give points accordingly

    code

    -


    DATA: percentage_text TYPE c LENGTH 5.

    DO 100 TIMES.

    WAIT UP TO '0.5' SECONDS.

    percentage_text(3) = sy-index.

    percentage_text+3 = '%'.

    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING

    percentage = sy-index

    text = percentage_text.

    ENDDO.

    Regards

    Suresh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2004 at 03:37 PM

    Hi all,

    thanks for your replies. Doing a loop is something I already had in mind, but this also means, that the user has to wait for a defined time until he is able work in his session again. Is there no method or attribute to be called or to be set? I am dealing with cl_gui_html_viewer.

    regards

    Siggi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 09:57 AM

    Hi Raja,

    it is displaying the text, nothing else happens.

    regards

    Siggi

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.